mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 02:31:13 +02:00
return null uuid for failure
This commit is contained in:
parent
9ab2a61a4b
commit
74a82f92df
1 changed files with 1 additions and 0 deletions
|
@ -483,6 +483,7 @@ QUuid EntityScriptingInterface::editEntity(QUuid id, const EntityItemProperties&
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
qCWarning(entities) << "attempted edit on unknown entity: " << id << name;
|
qCWarning(entities) << "attempted edit on unknown entity: " << id << name;
|
||||||
|
return QUuid(); // null UUID to indicate failure
|
||||||
}
|
}
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue