Consolidate and update

This commit is contained in:
2026-10-27 15:58:22 -07:00
parent eb211da457
commit 6c13722fc6
42 changed files with 498 additions and 169 deletions

View File

@ -79,7 +79,7 @@ class MergeNode(LnxLogicTreeNode):
# Recreate all original inputs
array_nodes[str(id(newnode))] = newnode
for idx, input in enumerate(self.inputs):
bpy.ops.lnx.node_add_input('EXEC_DEFAULT', node_index=str(id(newnode)), socket_type='LnxNodeSocketAction')
newnode.add_input('LnxNodeSocketAction', f'Input {idx}')
for link in input.links:
node_tree.links.new(link.from_socket, newnode.inputs[idx])