mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 04:57:58 +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) {
|
if (hasChildren) {
|
||||||
bool childrenCollapsed = false;//startNode->collapseIdenticalLeaves();
|
bool childrenCollapsed = false;
|
||||||
|
startNode->collapseIdenticalLeaves();
|
||||||
|
|
||||||
if (!childrenCollapsed) {
|
if (!childrenCollapsed) {
|
||||||
startNode->setColorFromAverageOfChildren();
|
startNode->setColorFromAverageOfChildren();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue