History

CR feedback

Thijs Wenker committed 8 years ago

Commit f4df75d1 parent 70bbac52 files · +5 −8Browse files

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

Unified · Split

libraries/entities/src/EntityScriptingInterface.cpp+1−2
@@ -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 simulation293 // 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 }