summaryrefslogtreecommitdiff
path: root/indra/newview/llspatialpartition.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-10-04 11:09:29 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-10-04 11:09:29 -0600
commitb0aa408a665ce61ff374f99e421812482fe53848 (patch)
treed5c29a12e99268377659d3f392a9c7a0e24b33df /indra/newview/llspatialpartition.cpp
parent9ae025f8ee8688b25678a243ba19f1398de08060 (diff)
fix for SH-4544: Interesting: Shadows from platforms above the camera flicker
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rwxr-xr-xindra/newview/llspatialpartition.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp
index 0fbe1578cf..50576b7a2c 100755
--- a/indra/newview/llspatialpartition.cpp
+++ b/indra/newview/llspatialpartition.cpp
@@ -1105,7 +1105,7 @@ public:
{
LLSpatialGroup* group = (LLSpatialGroup*)base_group;
if (group->needsUpdate() ||
- group->mVisible[LLViewerCamera::sCurCameraID] < LLDrawable::getCurrentFrame() - 1)
+ group->getVisible(LLViewerCamera::sCurCameraID) < LLDrawable::getCurrentFrame() - 1)
{
group->doOcclusion(mCamera);
}