mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +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);
|
||||
if (parent.expired()) {
|
||||
success = false;
|
||||
} else {
|
||||
success = true;
|
||||
}
|
||||
success = true;
|
||||
return parent;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue