mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 08:42:13 +02:00
collapse the identical leaves again
This commit is contained in:
parent
2df808fba5
commit
271c41ce16
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue