summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2014-03-05 20:23:40 -0700
committerXiaohong Bao <bao@lindenlab.com>2014-03-05 20:23:40 -0700
commit5f513242890068f569df7e50a5ac0ba3bdd23f05 (patch)
treeb6ea4d2e4be28aa986d5cde0e94ceb0661f81480 /indra/newview
parentac9849fb03ec5173ff7ec1b968550e006e8c769e (diff)
balance the Object cache trees to delete empty nodes to save memory.
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/pipeline.cpp4
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();
- }*/
+ }
}
}
}