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
579579
580580 if (properties.getEntityHostType() == entity::HostType::LOCAL) {
581581 // Local entities are only cloned locally
582− return addEntity(properties, "local");
582+ return addEntity(properties, QString("local"));
583583 } else if (cloneAvatarEntity) {
584− return addEntity(properties, "avatar");
584+ return addEntity(properties, QString("avatar"));
585585 } else {
586586 // setLastEdited timestamp to 0 to ensure this entity gets updated with the properties
587587 // from the server-created entity, don't change this unless you know what you are doing