mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-09 04:48:19 +02:00
fix success return value
This commit is contained in:
parent
68cfda1af9
commit
f0bffe7a24
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ SpatiallyNestableWeakPointer AssignmentParentFinder::find(QUuid parentID, bool&
|
||||||
parent = _tree->findEntityByEntityItemID(parentID);
|
parent = _tree->findEntityByEntityItemID(parentID);
|
||||||
if (parent.expired()) {
|
if (parent.expired()) {
|
||||||
success = false;
|
success = false;
|
||||||
|
} else {
|
||||||
|
success = true;
|
||||||
}
|
}
|
||||||
success = true;
|
|
||||||
return parent;
|
return parent;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue