Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 7 files). Show all
Unified · Split
| @@ -266,6 +266,8 @@ QUuid EntityScriptingInterface::addEntity(const EntityItemProperties& properties · 265 unmodified lines | |||
| 266 | bool success = true; | 266 | bool success = true; |
| 267 | if (_entityTree) { | 267 | if (_entityTree) { |
| 268 | _entityTree->withWriteLock([&] { | 268 | _entityTree->withWriteLock([&] { |
| 269 | propertiesWithSimID.getType(); | ||
| 270 | qCDebug(entities) << "check 2 type: " << propertiesWithSimID.getType(); | ||
| 269 | EntityItemPointer entity = _entityTree->addEntity(id, propertiesWithSimID); | 271 | EntityItemPointer entity = _entityTree->addEntity(id, propertiesWithSimID); |
| 270 | if (entity) { | 272 | if (entity) { |
| 271 | if (propertiesWithSimID.queryAACubeRelatedPropertyChanged()) { | 273 | if (propertiesWithSimID.queryAACubeRelatedPropertyChanged()) { |