Skip to content
Snippets Groups Projects
Commit 55df26a7 authored by Xiaohong Bao's avatar Xiaohong Bao
Browse files

temporary fix for rendering starts late when running on pdp station

parent 11a78da4
No related branches found
No related tags found
No related merge requests found
...@@ -638,10 +638,10 @@ S32 LLVOCachePartition::cull(LLCamera &camera, bool do_occlusion) ...@@ -638,10 +638,10 @@ S32 LLVOCachePartition::cull(LLCamera &camera, bool do_occlusion)
} }
mCulledTime[LLViewerCamera::sCurCameraID] = LLViewerOctreeEntryData::getCurrentFrame(); mCulledTime[LLViewerCamera::sCurCameraID] = LLViewerOctreeEntryData::getCurrentFrame();
if(!mDirty && !mCullHistory[LLViewerCamera::sCurCameraID] && LLViewerRegion::isViewerCameraStatic()) //if(!mDirty && !mCullHistory[LLViewerCamera::sCurCameraID] && LLViewerRegion::isViewerCameraStatic())
{ //{
return 0; //nothing changed, skip culling // return 0; //nothing changed, skip culling
} //}
((LLviewerOctreeGroup*)mOctree->getListener(0))->rebound(); ((LLviewerOctreeGroup*)mOctree->getListener(0))->rebound();
mCullHistory[LLViewerCamera::sCurCameraID] <<= 1; mCullHistory[LLViewerCamera::sCurCameraID] <<= 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment