parent
9b76e380ae
commit
52e1f7ad0e
|
@ -356,6 +356,7 @@ class GPEXP_OT_connect_selected_to_file_out(bpy.types.Operator):
|
||||||
## Change node_name for render layers: scene_viewlayer_name
|
## Change node_name for render layers: scene_viewlayer_name
|
||||||
if n.type == 'R_LAYERS' and node_name != n.label: # skip if a label is set
|
if n.type == 'R_LAYERS' and node_name != n.label: # skip if a label is set
|
||||||
node_name = f'{n.scene.name}_{n.layer}'
|
node_name = f'{n.scene.name}_{n.layer}'
|
||||||
|
# node_name = f'{n.layer}'
|
||||||
|
|
||||||
item.name_from_node = node_name
|
item.name_from_node = node_name
|
||||||
|
|
||||||
|
|
|
@ -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, 8, 14),
|
"version": (1, 8, 15),
|
||||||
"blender": (3, 0, 0),
|
"blender": (3, 0, 0),
|
||||||
"location": "View3D",
|
"location": "View3D",
|
||||||
"warning": "",
|
"warning": "",
|
||||||
|
|
2
fn.py
2
fn.py
|
@ -1939,7 +1939,7 @@ def connect_to_file_output(node_list, file_out=None, base_path='', excludes=None
|
||||||
out_base = node.label
|
out_base = node.label
|
||||||
else:
|
else:
|
||||||
out_base = node.name
|
out_base = node.name
|
||||||
bpy.path.clean_name(out_base)
|
out_base = bpy.path.clean_name(out_base)
|
||||||
out_name = f'OUT_{out_base}'
|
out_name = f'OUT_{out_base}'
|
||||||
|
|
||||||
if outs:
|
if outs:
|
||||||
|
|
Loading…
Reference in New Issue