diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-09-25 16:41:13 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-09-25 16:41:13 -0600 |
commit | 4aa41f80bae421109900321af1d090ba5c8e6fdb (patch) | |
tree | c366e14e442a72a87397415003dcb28bda524de3 /indra/newview/llworld.cpp | |
parent | ab8f64a96754edaa68dd1ff97b9519eff4496aa6 (diff) | |
parent | 456ff3949a28542ecd89ec23b0287b55a166529f (diff) |
Automated merge with http://bitbucket.org/lindenlab/viewer-interesting
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(); |