Skip to content

Commit

Permalink
Small fix for default node setup
Browse files Browse the repository at this point in the history
  • Loading branch information
GottfriedHofmann authored and carson-katri committed May 24, 2024
1 parent 444d6ec commit a7535ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def execute(self, context):
node_out = node_tree.nodes.new(type="NodeGroupOutput")
# Blender 4.0 uses a new API for in- and outputs
if bpy.app.version[0] > 3:
node_tree.interface.new_socket('Image', description="Output of the final image.", in_out='OUTPUT', type='NodeSocketColor')
node_tree.interface.new_socket('Image', description="Output of the final image.", in_out='OUTPUT', socket_type='NodeSocketColor')
else:
node_tree.outputs.new('NodeSocketColor','Image')
node_out.location = (400, 200)
Expand Down

0 comments on commit a7535ad

Please sign in to comment.