collapse the identical leaves again

This commit is contained in:
Stephen Birarda 2013-03-29 10:59:10 -07:00
parent 2df808fba5
commit 271c41ce16

View file

@ -394,7 +394,9 @@ void VoxelTree::reaverageVoxelColors(VoxelNode *startNode) {
}
if (hasChildren) {
bool childrenCollapsed = false;//startNode->collapseIdenticalLeaves();
bool childrenCollapsed = false;
startNode->collapseIdenticalLeaves();
if (!childrenCollapsed) {
startNode->setColorFromAverageOfChildren();
}