From 5f513242890068f569df7e50a5ac0ba3bdd23f05 Mon Sep 17 00:00:00 2001 From: Xiaohong Bao Date: Wed, 5 Mar 2014 20:23:40 -0700 Subject: balance the Object cache trees to delete empty nodes to save memory. --- indra/newview/pipeline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview') 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(); - }*/ + } } } } -- cgit v1.2.3