summaryrefslogtreecommitdiff
path: root/indra/newview/llworld.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-08-08 16:45:55 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-08-08 16:45:55 -0600
commita6711a894c3c32ad24b47e36b2a52225713fd3ed (patch)
tree73c6a36e202e88576ee74b4caa5a98c58cae3c80 /indra/newview/llworld.cpp
parenta2c7b0485576c6bb92f6d0eddc762f5e37d5caac (diff)
fix for SH-4402: interesting: lower FPS with lots of objects in view
Diffstat (limited to 'indra/newview/llworld.cpp')
-rwxr-xr-xindra/newview/llworld.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp
index bfc5077c90..df5e3d835c 100755
--- a/indra/newview/llworld.cpp
+++ b/indra/newview/llworld.cpp
@@ -668,8 +668,9 @@ void LLWorld::updateRegions(F32 max_update_time)
if(LLViewerCamera::getInstance()->isChanged())
{
- LLViewerRegion::sLastCameraUpdated = LLViewerOctreeEntryData::getCurrentFrame();
+ LLViewerRegion::sLastCameraUpdated = LLViewerOctreeEntryData::getCurrentFrame() + 1;
}
+ LLViewerRegion::calcNewObjectCreationThrottle();
// Perform idle time updates for the regions (and associated surfaces)
for (region_list_t::iterator iter = mRegionList.begin();