Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1649,12 +1649,9 @@ bool EntityScriptingInterface::actionWorker(const QUuid& entityID, · 1648 unmodified lines | ||
| 1649 | 1649 | return false; |
| 1650 | 1650 | } |
| 1651 | 1651 | |
| 1652 | − auto nodeList = DependencyManager::get<NodeList>(); | |
| 1653 | − const QUuid myNodeID = nodeList->getSessionUUID(); | |
| 1654 | − | |
| 1655 | 1652 | EntityItemPointer entity; |
| 1656 | 1653 | bool doTransmit = false; |
| 1657 | − _entityTree->withWriteLock([this, &entity, entityID, myNodeID, &doTransmit, actor] { | |
| 1654 | + _entityTree->withWriteLock([this, &entity, entityID, &doTransmit, actor] { | |
| 1658 | 1655 | EntitySimulationPointer simulation = _entityTree->getSimulation(); |
| 1659 | 1656 | entity = _entityTree->findEntityByEntityItemID(entityID); |
| 1660 | 1657 | if (!entity) { |