Merge pull request #4085 from AndrewMeadows/bispinor

remove functional code from inside assert
This commit is contained in:
Brad Hefta-Gaub 2015-01-11 15:30:15 -08:00
commit 3ccb81803d

View file

@ -239,7 +239,7 @@ bool UpdateEntityOperator::preRecursion(OctreeElement* element) {
if (oldElement != _containingElement) {
qDebug() << "WARNING entity moved during UpdateEntityOperator recursion";
assert(! _containingElement->removeEntityItem(_existingEntity));
_containingElement->removeEntityItem(_existingEntity);
}
if (_wantDebug) {