mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 15:33:10 +02:00
got rid of some dead code
This commit is contained in:
parent
1fc74b3556
commit
e9d556419f
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue