mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 18:02:13 +02:00
try to fix unnecessary queryAACube updates
This commit is contained in:
parent
2dc761a57a
commit
e64a4d0536
1 changed files with 6 additions and 4 deletions
|
@ -74,10 +74,12 @@ void SpatiallyNestable::setParentID(const QUuid& parentID) {
|
|||
}
|
||||
});
|
||||
|
||||
bool success = false;
|
||||
auto parent = getParentPointer(success);
|
||||
if (success && parent) {
|
||||
parent->updateQueryAACube();
|
||||
if (!_parentKnowsMe) {
|
||||
bool success = false;
|
||||
auto parent = getParentPointer(success);
|
||||
if (success && parent) {
|
||||
parent->updateQueryAACube();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue