History

return null uuid for failure

Seth Alves committed 9 years ago

Commit 74a82f91 parent 9ab2a611 file · +1 −0Browse files

Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 1 file). Show all

Unified · Split

libraries/entities/src/EntityScriptingInterface.cpp+1−0
@@ -483,6 +483,7 @@ QUuid EntityScriptingInterface::editEntity(QUuid id, const EntityItemProperties& · 482 unmodified lines
483 }483 }
484 }484 }
485 qCWarning(entities) << "attempted edit on unknown entity: " << id << name;485 qCWarning(entities) << "attempted edit on unknown entity: " << id << name;
486 return QUuid(); // null UUID to indicate failure
486 }487 }
487 return id;488 return id;
488}489}