added debugging

This commit is contained in:
ZappoMan 2013-03-29 08:59:50 -07:00
parent e920a6e873
commit 9e308f4821

View file

@ -394,7 +394,7 @@ void VoxelTree::reaverageVoxelColors(VoxelNode *startNode) {
}
if (hasChildren) {
bool childrenCollapsed = startNode->collapseIdenticalLeaves();
bool childrenCollapsed = false;//startNode->collapseIdenticalLeaves();
if (!childrenCollapsed) {
startNode->setColorFromAverageOfChildren();
}
@ -541,4 +541,5 @@ void VoxelTree::createSphere(float r,float xc, float yc, float zc, float s, bool
}
}
this->reaverageVoxelColors(this->rootNode);
this->printTreeForDebugging(this->rootNode);
}