summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerregion.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-08-05 14:48:26 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-08-05 14:48:26 -0600
commit576b9339977f50edb11a799d7a274610263f9fdc (patch)
tree873dbceba5d12cd23736b599ee76b87eaa9d247e /indra/newview/llviewerregion.cpp
parent3059b59b619123caf5cc3137ab0b983c28a2962b (diff)
fix for SH-4397: Object cache occlusion culling results are not always correct
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 c55ccce47a..47e59d3c00 100755
--- a/indra/newview/llviewerregion.cpp
+++ b/indra/newview/llviewerregion.cpp
@@ -1183,6 +1183,9 @@ BOOL LLViewerRegion::idleUpdate(F32 max_update_time)
}
max_update_time -= update_timer.getElapsedTimeF32();
+
+ //reset all occluders
+ mImpl->mVOCachePartition->resetOccluders();
//update the throttling number
static S32 throttle = new_object_creation_throttle;