History

some stuff is working!

SamGondelman committed 7 years ago

Commit abd7d6b1 parent bb5c55610 files · +94 −52Browse files

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

Unified · Split

libraries/entities/src/EntityScriptingInterface.cpp+2−2
@@ -579,9 +579,9 @@ QUuid EntityScriptingInterface::cloneEntity(const QUuid& entityIDToClone) { · 578 unmodified lines
579 579
580 if (properties.getEntityHostType() == entity::HostType::LOCAL) {580 if (properties.getEntityHostType() == entity::HostType::LOCAL) {
581 // Local entities are only cloned locally581 // Local entities are only cloned locally
582 return addEntity(properties, "local");582 return addEntity(properties, QString("local"));
583 } else if (cloneAvatarEntity) {583 } else if (cloneAvatarEntity) {
584 return addEntity(properties, "avatar");584 return addEntity(properties, QString("avatar"));
585 } else {585 } else {
586 // setLastEdited timestamp to 0 to ensure this entity gets updated with the properties 586 // setLastEdited timestamp to 0 to ensure this entity gets updated with the properties
587 // from the server-created entity, don't change this unless you know what you are doing587 // from the server-created entity, don't change this unless you know what you are doing