added call to reaverageVoxelColors() after deleting a voxel

This commit is contained in:
ZappoMan 2013-04-03 09:23:22 -07:00
parent da52b0b321
commit f9dc41011a

View file

@ -198,6 +198,8 @@ void VoxelTree::deleteVoxelCodeFromTree(unsigned char *codeBuffer) {
printf("setting parentNode->children[%d] to NULL\n",childNDX);
parentNode->children[childNDX]=NULL; // set it to NULL
printf("reaverageVoxelColors()\n");
reaverageVoxelColors(parentNode); // Fix our colors!!
}
}
}