rebalance the object cache octrees.

meow-7.2.2
Xiaohong Bao 2013-09-09 11:30:52 -06:00
parent 01098f5dab
commit 1f9e73bbdb
1 changed files with 7 additions and 0 deletions

View File

@ -2103,6 +2103,13 @@ void LLPipeline::updateMove()
part->mOctree->balance();
}
}
//balance the VO Cache tree
LLVOCachePartition* vo_part = region->getVOCachePartition();
if(vo_part)
{
vo_part->mOctree->balance();
}
}
}
}