mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 13:33:38 +02:00
returning false if there is no entity to connect to
This commit is contained in:
parent
fa29bb537f
commit
9e3626cca3
1 changed files with 2 additions and 0 deletions
|
@ -1269,6 +1269,8 @@ bool EntityScriptingInterface::appendPoint(QUuid entityID, const glm::vec3& poin
|
|||
EntityItemPointer entity = static_cast<EntityItemPointer>(_entityTree->findEntityByEntityItemID(entityID));
|
||||
if (!entity) {
|
||||
qCDebug(entities) << "EntityScriptingInterface::setPoints no entity with ID" << entityID;
|
||||
// There is no entity
|
||||
return false;
|
||||
}
|
||||
|
||||
EntityTypes::EntityType entityType = entity->getType();
|
||||
|
|
Loading…
Reference in a new issue