mirror of
https://github.com/overte-org/overte.git
synced 2025-07-03 14:49:49 +02:00
Update entity scripting interface to allow modifications to unknown entities
This commit is contained in:
parent
4974c88880
commit
2f7e346f6a
1 changed files with 0 additions and 4 deletions
|
@ -386,10 +386,6 @@ QUuid EntityScriptingInterface::editEntity(QUuid id, const EntityItemProperties&
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!updatedEntity) {
|
|
||||||
return QUuid();
|
|
||||||
}
|
|
||||||
|
|
||||||
_entityTree->withReadLock([&] {
|
_entityTree->withReadLock([&] {
|
||||||
EntityItemPointer entity = _entityTree->findEntityByEntityItemID(entityID);
|
EntityItemPointer entity = _entityTree->findEntityByEntityItemID(entityID);
|
||||||
if (entity) {
|
if (entity) {
|
||||||
|
|
Loading…
Reference in a new issue