diff options
Diffstat (limited to 'indra/newview/llworld.cpp')
-rwxr-xr-x | indra/newview/llworld.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp index 9009626a03..d600abeb0a 100755 --- a/indra/newview/llworld.cpp +++ b/indra/newview/llworld.cpp @@ -684,6 +684,16 @@ void LLWorld::updateRegions(F32 max_update_time) } } +void LLWorld::clearAllVisibleObjects() +{ + for (region_list_t::iterator iter = mRegionList.begin(); + iter != mRegionList.end(); ++iter) + { + //clear all cached visible objects. + (*iter)->clearCachedVisibleObjects(); + } +} + void LLWorld::updateParticles() { LLViewerPartSim::getInstance()->updateSimulation(); |