mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-08 13:34:01 +02:00
added call to reaverageVoxelColors() after deleting a voxel
This commit is contained in:
parent
da52b0b321
commit
f9dc41011a
1 changed files with 2 additions and 0 deletions
|
@ -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!!
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue