mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-24 13:45:31 +02:00
fixed bug in initialization of false color (actually true color)
This commit is contained in:
parent
465dcf81c0
commit
b291b5d1f6
1 changed files with 6 additions and 0 deletions
|
@ -58,6 +58,12 @@ void VoxelNode::getAABox(AABox& box) const {
|
|||
void VoxelNode::addChildAtIndex(int childIndex) {
|
||||
children[childIndex] = new VoxelNode();
|
||||
|
||||
// XXXBHG - When the node is constructed, it should be cleanly set up as
|
||||
// true colored, but for some reason, not so much. I've added a a basecamp
|
||||
// to-do to research this. But for now we'll use belt and suspenders and set
|
||||
// it to not-false-colored here!
|
||||
children[childIndex]->setFalseColored(false);
|
||||
|
||||
// give this child its octal code
|
||||
children[childIndex]->octalCode = childOctalCode(octalCode, childIndex);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue