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])

View File

@ -278,7 +278,8 @@ def replace_all():
log.error(f'There were errors in the node update procedure, a detailed report has been written to {reportfile}')
bpy.ops.lnx.show_node_update_errors()
if not bpy.app.background:
bpy.ops.lnx.show_node_update_errors()
def node_compat_sdk2108():