summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-08-26 11:33:37 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-08-26 11:33:37 -0600
commit041ab1c46c681de63c934af031c1d1a0b3f5a4da (patch)
tree7d15afcfdd8eedac751e8ec83fcfc61905309818 /indra/newview
parent74d4933ab77beee3c139065758033d51f474c5f1 (diff)
reversion of rendering starts late change
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llvocache.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llvocache.cpp b/indra/newview/llvocache.cpp
index dc7b907a35..ebde17dcef 100755
--- a/indra/newview/llvocache.cpp
+++ b/indra/newview/llvocache.cpp
@@ -638,10 +638,10 @@ S32 LLVOCachePartition::cull(LLCamera &camera, bool do_occlusion)
}
mCulledTime[LLViewerCamera::sCurCameraID] = LLViewerOctreeEntryData::getCurrentFrame();
- //if(!mDirty && !mCullHistory[LLViewerCamera::sCurCameraID] && LLViewerRegion::isViewerCameraStatic())
- //{
- // return 0; //nothing changed, skip culling
- //}
+ if(!mDirty && !mCullHistory[LLViewerCamera::sCurCameraID] && LLViewerRegion::isViewerCameraStatic())
+ {
+ return 0; //nothing changed, skip culling
+ }
((LLviewerOctreeGroup*)mOctree->getListener(0))->rebound();
mCullHistory[LLViewerCamera::sCurCameraID] <<= 1;