parent
c176f7ab6a
commit
9820f273c2
|
@ -14,6 +14,10 @@ Activate / deactivate layer opacity according to prefix
|
||||||
Activate / deactivate all masks using MA layers
|
Activate / deactivate all masks using MA layers
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
1.6.1
|
||||||
|
|
||||||
|
- fixed: preview output for Blender 4.0+
|
||||||
|
|
||||||
1.6.0
|
1.6.0
|
||||||
|
|
||||||
- added: Connect selection to new or existing fileout
|
- added: Connect selection to new or existing fileout
|
||||||
|
|
|
@ -2,7 +2,7 @@ bl_info = {
|
||||||
"name": "GP Render",
|
"name": "GP Render",
|
||||||
"description": "Organise export of gp layers through compositor output",
|
"description": "Organise export of gp layers through compositor output",
|
||||||
"author": "Samuel Bernou",
|
"author": "Samuel Bernou",
|
||||||
"version": (1, 6, 0),
|
"version": (1, 6, 1),
|
||||||
"blender": (3, 0, 0),
|
"blender": (3, 0, 0),
|
||||||
"location": "View3D",
|
"location": "View3D",
|
||||||
"warning": "",
|
"warning": "",
|
||||||
|
|
10
fn.py
10
fn.py
|
@ -864,8 +864,14 @@ def nodegroup_merge_inputs(ngroup, aa=True):
|
||||||
y += offset_y
|
y += offset_y
|
||||||
prev = ao
|
prev = ao
|
||||||
|
|
||||||
# create one input and link
|
# Create one output and link
|
||||||
out = ngroup.outputs.new('NodeSocketColor', ngroup.inputs[0].name)
|
out_name = 'preview'
|
||||||
|
if bpy.app.version < (4,0,0):
|
||||||
|
# out_name = ngroup.inputs[0].name # name like first inputout_name
|
||||||
|
out = ngroup.outputs.new('NodeSocketColor', out_name)
|
||||||
|
else:
|
||||||
|
# out_name = next((s for s in ngroup.interface.items_tree if s.in_out == 'INPUT')).name # name like first input
|
||||||
|
out = ngroup.interface.new_socket(out_name, in_out='OUTPUT', socket_type='NodeSocketColor')
|
||||||
|
|
||||||
## create a merged name as output ??
|
## create a merged name as output ??
|
||||||
if aa:
|
if aa:
|
||||||
|
|
Loading…
Reference in New Issue