mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 13:28:09 +02:00
Merge pull request #14302 from SamGondelman/queryAACube
Don't update QueryAACube in setParentID if _parentID didn't change
This commit is contained in:
commit
312f336210
1 changed files with 6 additions and 4 deletions
|
@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue