Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 2 files). Show all
Unified · Split
| @@ -293,8 +293,7 @@ bool EntityScriptingInterface::addLocalEntityCopy(EntityItemProperties& properti · 292 unmodified lines | |||
| 293 | // since we're creating this object we will immediately volunteer to own its simulation | 293 | // since we're creating this object we will immediately volunteer to own its simulation |
| 294 | entity->flagForOwnershipBid(VOLUNTEER_SIMULATION_PRIORITY); | 294 | entity->flagForOwnershipBid(VOLUNTEER_SIMULATION_PRIORITY); |
| 295 | properties.setLastEdited(entity->getLastEdited()); | 295 | properties.setLastEdited(entity->getLastEdited()); |
| 296 | } | 296 | } else { |
| 297 | else { | ||
| 298 | qCDebug(entities) << "script failed to add new Entity to local Octree"; | 297 | qCDebug(entities) << "script failed to add new Entity to local Octree"; |
| 299 | success = false; | 298 | success = false; |
| 300 | } | 299 | } |