fix small stats bug

This commit is contained in:
ZappoMan 2013-10-17 14:43:19 -07:00
parent 8d7874b01b
commit a11b6858d3

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