diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2014-03-05 20:23:40 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2014-03-05 20:23:40 -0700 |
commit | 5f513242890068f569df7e50a5ac0ba3bdd23f05 (patch) | |
tree | b6ea4d2e4be28aa986d5cde0e94ceb0661f81480 | |
parent | ac9849fb03ec5173ff7ec1b968550e006e8c769e (diff) |
balance the Object cache trees to delete empty nodes to save memory.
-rwxr-xr-x | indra/newview/pipeline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index da1048ac78..21ccec5c0a 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -2155,11 +2155,11 @@ void LLPipeline::updateMove() } //balance the VO Cache tree - /*LLVOCachePartition* vo_part = region->getVOCachePartition(); + LLVOCachePartition* vo_part = region->getVOCachePartition(); if(vo_part) { vo_part->mOctree->balance(); - }*/ + } } } } |