diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2012-10-16 11:40:02 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2012-10-16 11:40:02 -0600 |
commit | 9bc8028ab52ef5d56fa8a3915d927b5a050d8ead (patch) | |
tree | 168bcfd17b2c1163fd46eb5d6662f66df985af54 /indra | |
parent | c0ba626c8009b22310b3923e8170e5db2a021253 (diff) |
Some minor performance tuning-up for SH-3333.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llviewerregion.cpp | 2 | ||||
-rw-r--r-- | indra/newview/llvocache.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp index 15c95aa30a..0c0522d32f 100644 --- a/indra/newview/llviewerregion.cpp +++ b/indra/newview/llviewerregion.cpp @@ -1066,7 +1066,7 @@ void LLViewerRegion::killObject(LLVOCacheEntry* entry, std::vector<LLDrawable*>& if(child->mDrawable->isRecentlyVisible()) { //set the parent group visible if any of its children visible. - drawablep->getSpatialGroup()->setVisible(); + ((LLViewerOctreeEntryData*)drawablep)->setVisible(); return; } } diff --git a/indra/newview/llvocache.cpp b/indra/newview/llvocache.cpp index 17e0ef3bdb..236ce11c7e 100644 --- a/indra/newview/llvocache.cpp +++ b/indra/newview/llvocache.cpp @@ -170,7 +170,7 @@ void LLVOCacheEntry::setOctreeEntry(LLViewerOctreeEntry* entry) //virtual S32 LLVOCacheEntry::getMinVisFrameRange()const { - const S32 MIN_RANGE = 128; //frames + const S32 MIN_RANGE = 64; //frames return MIN_RANGE; } |