Showing the changes to interface/src/VoxelSystem.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1548,7 +1548,7 @@ bool VoxelSystem::killSourceVoxelsOperation(VoxelNode* node, void* extraData) { · 1547 unmodified lines | ||
| 1548 | 1548 | for (int i = 0; i < NUMBER_OF_CHILDREN; i++) { |
| 1549 | 1549 | VoxelNode* childNode = node->getChildAtIndex(i); |
| 1550 | 1550 | if (childNode) { |
| 1551 | − uint16_t childNodeID = childNodeID = childNode->getSourceID(); | |
| 1551 | + uint16_t childNodeID = childNode->getSourceID(); | |
| 1552 | 1552 | if (childNodeID == killedNodeID) { |
| 1553 | 1553 | node->safeDeepDeleteChildAtIndex(i); |
| 1554 | 1554 | } |