mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 09:18:45 +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);
|
MetavoxelNode* newGrandchild = new MetavoxelNode(attribute);
|
||||||
newChild->setChild((index + j) % MetavoxelNode::CHILD_COUNT, newGrandchild);
|
newChild->setChild((index + j) % MetavoxelNode::CHILD_COUNT, newGrandchild);
|
||||||
}
|
}
|
||||||
newChild->mergeChildren(attribute);
|
|
||||||
}
|
}
|
||||||
newParent->mergeChildren(attribute);
|
|
||||||
return newParent;
|
return newParent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1501,9 +1499,7 @@ MetavoxelNode* SharedObjectSetAttribute::expandMetavoxelRoot(const MetavoxelNode
|
||||||
MetavoxelNode* newGrandchild = new MetavoxelNode(attribute);
|
MetavoxelNode* newGrandchild = new MetavoxelNode(attribute);
|
||||||
newChild->setChild((index + j) % MetavoxelNode::CHILD_COUNT, newGrandchild);
|
newChild->setChild((index + j) % MetavoxelNode::CHILD_COUNT, newGrandchild);
|
||||||
}
|
}
|
||||||
newChild->mergeChildren(attribute);
|
|
||||||
}
|
}
|
||||||
newParent->mergeChildren(attribute);
|
|
||||||
return newParent;
|
return newParent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue