Better subgraph cut/paste handling & tests

This commit is contained in:
space-nuko
2023-05-17 10:18:49 -05:00
parent 68895443f7
commit 51d8e17f49
7 changed files with 147 additions and 9 deletions

View File

@@ -8,6 +8,9 @@ export function isNodeDisabled(node: LGraphNode): boolean {
if (node.mode !== NodeMode.ALWAYS) {
return true;
}
if (node.graph == null) {
return true
}
node = node.graph._subgraph_node;
}
return false;