pygui: changes around using session.nodes instead of canvas_nodes when possible
This commit is contained in:
parent
588afaad13
commit
27495cbda1
5 changed files with 58 additions and 67 deletions
|
@ -25,9 +25,9 @@ class RunToolDialog(Dialog):
|
|||
"""
|
||||
store all CORE nodes (nodes that execute commands) from all existing nodes
|
||||
"""
|
||||
for nid, node in self.app.core.canvas_nodes.items():
|
||||
if NodeUtils.is_container_node(node.core_node.type):
|
||||
self.executable_nodes[node.core_node.name] = nid
|
||||
for node in self.app.core.session.nodes.values():
|
||||
if NodeUtils.is_container_node(node.type):
|
||||
self.executable_nodes[node.name] = node.id
|
||||
|
||||
def draw(self) -> None:
|
||||
self.top.rowconfigure(0, weight=1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue