Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 1 file). Show all
Unified · Split
| @@ -469,6 +469,7 @@ QUuid EntityScriptingInterface::editEntity(QUuid id, const EntityItemProperties& · 468 unmodified lines | |||
| 469 | if (entityFound) { | 469 | if (entityFound) { |
| 470 | queueEntityMessage(PacketType::EntityEdit, entityID, properties); | 470 | queueEntityMessage(PacketType::EntityEdit, entityID, properties); |
| 471 | } else { | 471 | } else { |
| 472 | // attempt to get a name for the mystery ID | ||
| 472 | QString name = "unknown"; | 473 | QString name = "unknown"; |
| 473 | QSharedPointer<SpatialParentFinder> parentFinder = DependencyManager::get<SpatialParentFinder>(); | 474 | QSharedPointer<SpatialParentFinder> parentFinder = DependencyManager::get<SpatialParentFinder>(); |
| 474 | if (parentFinder) { | 475 | if (parentFinder) { |