Xiaohong Bao 2013-08-14 14:57:54 -06:00
commit 52086d4485
2 changed files with 3 additions and 8 deletions

View File

@ -1205,12 +1205,7 @@ BOOL LLViewerRegion::idleUpdate(F32 max_update_time)
max_update_time -= update_timer.getElapsedTimeF32();
if(sNewObjectCreationThrottle < 0 && (LLStartUp::getStartupState() < STATE_STARTED || gTeleportDisplay))
{
//apply octree cullings here to pick up visible objects because rendering pipeline stops view culling at this moment
mImpl->mVOCachePartition->cull(*LLViewerCamera::getInstance(), false);
}
else if(max_update_time < 0.f)
if(max_update_time < 0.f)
{
return did_update;
}

View File

@ -531,7 +531,7 @@ public:
virtual S32 frustumCheck(const LLviewerOctreeGroup* group)
{
#if 0
#if 1
S32 res = AABBInRegionFrustumGroupBounds(group);
#else
S32 res = AABBInRegionFrustumNoFarClipGroupBounds(group);
@ -545,7 +545,7 @@ public:
virtual S32 frustumCheckObjects(const LLviewerOctreeGroup* group)
{
#if 0
#if 1
S32 res = AABBInRegionFrustumObjectBounds(group);
#else
S32 res = AABBInRegionFrustumNoFarClipObjectBounds(group);