summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-09-09 11:30:52 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-09-09 11:30:52 -0600
commit1f9e73bbdb9c20de26f42bc33ed9c19457d43df7 (patch)
tree77156e818a7ff6a62a506890f49ea245ccbd77a0
parent01098f5daba77e12fe739a3c8eaa722a95b83ea9 (diff)
rebalance the object cache octrees.
-rwxr-xr-xindra/newview/pipeline.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 019b49b8fb..a12a54d022 100755
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -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();
+ }
}
}
}