summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerregion.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-08-14 14:55:12 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-08-14 14:55:12 -0600
commita9c7cc486f4de721d42279263af33b272e15c830 (patch)
tree717deb7b6913d6c5878ed8aebee43c427a4dcf39 /indra/newview/llviewerregion.cpp
parentc2601ec9c574ac3bd7a7f4001bc08572483028a6 (diff)
remove some code which has nagetive impact on memory footprint.
Diffstat (limited to 'indra/newview/llviewerregion.cpp')
-rwxr-xr-xindra/newview/llviewerregion.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp
index cfe765a1cb..5cdf43486e 100755
--- a/indra/newview/llviewerregion.cpp
+++ b/indra/newview/llviewerregion.cpp
@@ -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;
}