mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 12:17:45 +02:00
Merge pull request #1077 from ZappoMan/voxelnode_memory_savings
fix small stats bug
This commit is contained in:
commit
62db6b82be
1 changed files with 4 additions and 0 deletions
|
@ -112,6 +112,10 @@ VoxelNode::~VoxelNode() {
|
||||||
setChildAtIndex(i, NULL);
|
setChildAtIndex(i, NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// at this point, we should have no children, but we need to drop ourselves from population counts
|
||||||
|
_singleChildrenCount--;
|
||||||
|
_childrenCount[0]--;
|
||||||
}
|
}
|
||||||
|
|
||||||
void VoxelNode::markWithChangedTime() {
|
void VoxelNode::markWithChangedTime() {
|
||||||
|
|
Loading…
Reference in a new issue