mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 19:23:28 +02:00
added debugging
This commit is contained in:
parent
e920a6e873
commit
9e308f4821
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
Loading…
Reference in a new issue