try to fix unnecessary queryAACube updates

This commit is contained in:
SamGondelman 2018-10-30 12:47:44 -07:00
parent 2dc761a57a
commit e64a4d0536

View file

@ -74,10 +74,12 @@ void SpatiallyNestable::setParentID(const QUuid& parentID) {
} }
}); });
bool success = false; if (!_parentKnowsMe) {
auto parent = getParentPointer(success); bool success = false;
if (success && parent) { auto parent = getParentPointer(success);
parent->updateQueryAACube(); if (success && parent) {
parent->updateQueryAACube();
}
} }
} }