diff --git a/libraries/render/src/render/Octree.cpp b/libraries/render/src/render/Octree.cpp index 82c8ca604b..6a61c16567 100644 --- a/libraries/render/src/render/Octree.cpp +++ b/libraries/render/src/render/Octree.cpp @@ -113,11 +113,7 @@ Octree::Index Octree::allocateCell(Index parent, const Location& location) { if (_cells[parent].hasChild(location.octant())) { return _cells[parent].child(location.octant()); } - - if (!(_cells[parent].getlocation().child(location.octant()) == location)) { - auto parentLoc = _cells[parent].getlocation(); - assert(false); - } + assert(_cells[parent].getlocation().child(location.octant()) == location); Index newIndex; if (_freeCells.empty()) {