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,11 +74,13 @@ void SpatiallyNestable::setParentID(const QUuid& parentID) {
} }
}); });
if (!_parentKnowsMe) {
bool success = false; bool success = false;
auto parent = getParentPointer(success); auto parent = getParentPointer(success);
if (success && parent) { if (success && parent) {
parent->updateQueryAACube(); parent->updateQueryAACube();
} }
}
} }
Transform SpatiallyNestable::getParentTransform(bool& success, int depth) const { Transform SpatiallyNestable::getParentTransform(bool& success, int depth) const {