mirror of
https://github.com/overte-org/overte.git
synced 2025-08-15 15:40:27 +02:00
Merge pull request #112 from ZappoMan/view_frustum_work
Fix false colorization initialization bug
This commit is contained in:
commit
982e2b1d0c
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