History

remove unused variable

Andrew Meadows committed 7 years ago

Commit ec872bf1 parent 7692e851 file · +1 −4Browse files

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

Unified · Split

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