Miscellaneous code tidying

This commit is contained in:
David Rowe 2018-02-19 12:21:56 +13:00
parent 86a6f73fb4
commit 9e37230aa1
3 changed files with 3 additions and 3 deletions

View file

@ -528,7 +528,7 @@ QUuid EntityScriptingInterface::editEntity(QUuid id, const EntityItemProperties&
NestableType nestableType = nestable->getNestableType(); NestableType nestableType = nestable->getNestableType();
if (nestableType == NestableType::Overlay || nestableType == NestableType::Avatar) { if (nestableType == NestableType::Overlay || nestableType == NestableType::Avatar) {
qCWarning(entities) << "attempted edit on non-entity: " << id << nestable->getName(); qCWarning(entities) << "attempted edit on non-entity: " << id << nestable->getName();
return QUuid(); // null UUID to indicate failure return QUuid(); // null script value to indicate failure
} }
} }
} }