mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
fix small stats bug
This commit is contained in:
parent
8d7874b01b
commit
a11b6858d3
1 changed files with 4 additions and 0 deletions
|
@ -112,6 +112,10 @@ VoxelNode::~VoxelNode() {
|
|||
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() {
|
||||
|
|
Loading…
Reference in a new issue