mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 19:04:32 +02:00
Don't merge after expansion; it breaks stuff.
This commit is contained in:
parent
72500630b0
commit
74b39773d6
1 changed files with 0 additions and 4 deletions
|
@ -274,9 +274,7 @@ MetavoxelNode* Attribute::expandMetavoxelRoot(const MetavoxelNode& root) {
|
|||
MetavoxelNode* newGrandchild = new MetavoxelNode(attribute);
|
||||
newChild->setChild((index + j) % MetavoxelNode::CHILD_COUNT, newGrandchild);
|
||||
}
|
||||
newChild->mergeChildren(attribute);
|
||||
}
|
||||
newParent->mergeChildren(attribute);
|
||||
return newParent;
|
||||
}
|
||||
|
||||
|
@ -1501,9 +1499,7 @@ MetavoxelNode* SharedObjectSetAttribute::expandMetavoxelRoot(const MetavoxelNode
|
|||
MetavoxelNode* newGrandchild = new MetavoxelNode(attribute);
|
||||
newChild->setChild((index + j) % MetavoxelNode::CHILD_COUNT, newGrandchild);
|
||||
}
|
||||
newChild->mergeChildren(attribute);
|
||||
}
|
||||
newParent->mergeChildren(attribute);
|
||||
return newParent;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue