Skip to content

Commit

Permalink
Fix a bug related to a breaking change in Blender 3.5+
Browse files Browse the repository at this point in the history
  • Loading branch information
benrugg committed Mar 13, 2023
1 parent 9da48e9 commit 11c612d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "AI Render - Stable Diffusion in Blender",
"description": "Create amazing images using Stable Diffusion AI",
"author": "Ben Rugg",
"version": (0, 6, 9),
"version": (0, 6, 10),
"blender": (3, 0, 0),
"location": "Render Properties > AI Render",
"warning": "",
Expand Down
2 changes: 2 additions & 0 deletions operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ def ensure_compositor_node_group(scene):

# otherwise, create a new node group
node_tree = bpy.data.node_groups.new('AIR_node_group_v1', 'CompositorNodeTree')
node_tree.inputs.new('NodeSocketColor', 'Image')
node_tree.outputs.new('NodeSocketColor', 'Image')

node_group = compositor_nodes.new('CompositorNodeGroup')
node_group.node_tree = node_tree
Expand Down

0 comments on commit 11c612d

Please sign in to comment.