Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1269,6 +1269,8 @@ bool EntityScriptingInterface::appendPoint(QUuid entityID, const glm::vec3& poin · 1268 unmodified lines | |||
| 1269 | EntityItemPointer entity = static_cast<EntityItemPointer>(_entityTree->findEntityByEntityItemID(entityID)); | 1269 | EntityItemPointer entity = static_cast<EntityItemPointer>(_entityTree->findEntityByEntityItemID(entityID)); |
| 1270 | if (!entity) { | 1270 | if (!entity) { |
| 1271 | qCDebug(entities) << "EntityScriptingInterface::setPoints no entity with ID" << entityID; | 1271 | qCDebug(entities) << "EntityScriptingInterface::setPoints no entity with ID" << entityID; |
| 1272 | // There is no entity | ||
| 1273 | return false; | ||
| 1272 | } | 1274 | } |
| 1273 | 1275 | ||
| 1274 | EntityTypes::EntityType entityType = entity->getType(); | 1276 | EntityTypes::EntityType entityType = entity->getType(); |