got rid of some dead code

This commit is contained in:
ZappoMan 2013-05-03 14:39:00 -07:00
parent 1fc74b3556
commit e9d556419f

View file

@ -260,9 +260,6 @@ void VoxelTree::deleteVoxelCodeFromTree(unsigned char *codeBuffer) {
delete[] vertices;
if (parentNode) {
float* vertices = firstVertexForCode(parentNode->octalCode);
delete[] vertices;
int childIndex = branchIndexWithDescendant(parentNode->octalCode, codeBuffer);
delete parentNode->children[childIndex]; // delete the child nodes