summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerregion.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-10-01 10:56:30 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-10-01 10:56:30 -0600
commita5a1b81af28b16406687df3550730a436155589f (patch)
treee496906c7b9d74dc00dd23fd66e73f1af61b35f3 /indra/newview/llviewerregion.cpp
parent2fad2cc7365803b63bfe2466da2558182a1c25b9 (diff)
fix for SH-4521: Interesting viewer crash in Pipeline:RenderDrawPools
Diffstat (limited to 'indra/newview/llviewerregion.cpp')
-rwxr-xr-xindra/newview/llviewerregion.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp
index 18232e75c9..0c2c2365c7 100755
--- a/indra/newview/llviewerregion.cpp
+++ b/indra/newview/llviewerregion.cpp
@@ -1183,6 +1183,9 @@ void LLViewerRegion::clearCachedVisibleObjects()
mImpl->mWaitingList.clear();
mImpl->mVisibleGroups.clear();
+ //reset all occluders
+ mImpl->mVOCachePartition->resetOccluders();
+
//clean visible entries
for(LLVOCacheEntry::vocache_entry_set_t::iterator iter = mImpl->mVisibleEntries.begin(); iter != mImpl->mVisibleEntries.end();)
{