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