Merge pull request #1077 from ZappoMan/voxelnode_memory_savings

fix small stats bug
This commit is contained in:
ZappoMan 2013-10-17 14:49:29 -07:00
commit 62db6b82be

View file

@ -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() {