Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 4 files). Show all
Unified · Split
| @@ -47,14 +47,14 @@ bool EntityScriptingInterface::canRez() { · 46 unmodified lines | ||
| 47 | 47 | return nodeList->getThisNodeCanRez(); |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | −void EntityScriptingInterface::setEntityTree(EntityTreePointer modelTree) { | |
| 50 | +void EntityScriptingInterface::setEntityTree(EntityTreePointer elementTree) { | |
| 51 | 51 | if (_entityTree) { |
| 52 | 52 | disconnect(_entityTree.get(), &EntityTree::addingEntity, this, &EntityScriptingInterface::addingEntity); |
| 53 | 53 | disconnect(_entityTree.get(), &EntityTree::deletingEntity, this, &EntityScriptingInterface::deletingEntity); |
| 54 | 54 | disconnect(_entityTree.get(), &EntityTree::clearingEntities, this, &EntityScriptingInterface::clearingEntities); |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | − _entityTree = modelTree; | |
| 57 | + _entityTree = elementTree; | |
| 58 | 58 | |
| 59 | 59 | if (_entityTree) { |
| 60 | 60 | connect(_entityTree.get(), &EntityTree::addingEntity, this, &EntityScriptingInterface::addingEntity); |