Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 11 files). Show all
Unified · Split
| @@ -32,6 +32,7 @@ EntityScriptingInterface::EntityScriptingInterface(bool bidOnSimulationOwnership · 31 unmodified lines | ||
| 32 | 32 | auto nodeList = DependencyManager::get<NodeList>(); |
| 33 | 33 | connect(nodeList.data(), &NodeList::isAllowedEditorChanged, this, &EntityScriptingInterface::canAdjustLocksChanged); |
| 34 | 34 | connect(nodeList.data(), &NodeList::canRezChanged, this, &EntityScriptingInterface::canRezChanged); |
| 35 | + connect(nodeList.data(), &NodeList::canRezTmpChanged, this, &EntityScriptingInterface::canRezTmpChanged); | |
| 35 | 36 | } |
| 36 | 37 | |
| 37 | 38 | void EntityScriptingInterface::queueEntityMessage(PacketType packetType, |
| @@ -49,6 +50,11 @@ bool EntityScriptingInterface::canRez() { · 11 unmodified lines | ||
| 49 | 50 | return nodeList->getThisNodeCanRez(); |
| 50 | 51 | } |
| 51 | 52 | |
| 53 | +bool EntityScriptingInterface::canRezTmp() { | |
| 54 | + auto nodeList = DependencyManager::get<NodeList>(); | |
| 55 | + return nodeList->getThisNodeCanRezTmp(); | |
| 56 | +} | |
| 57 | + | |
| 52 | 58 | void EntityScriptingInterface::setEntityTree(EntityTreePointer elementTree) { |
| 53 | 59 | if (_entityTree) { |
| 54 | 60 | disconnect(_entityTree.get(), &EntityTree::addingEntity, this, &EntityScriptingInterface::addingEntity); |