diff --git a/OP_manage_outputs.py b/OP_manage_outputs.py index b2cb887..f07d1c4 100644 --- a/OP_manage_outputs.py +++ b/OP_manage_outputs.py @@ -356,6 +356,7 @@ class GPEXP_OT_connect_selected_to_file_out(bpy.types.Operator): ## 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 node_name = f'{n.scene.name}_{n.layer}' + # node_name = f'{n.layer}' item.name_from_node = node_name diff --git a/__init__.py b/__init__.py index 1a033b0..e0d827d 100644 --- a/__init__.py +++ b/__init__.py @@ -2,7 +2,7 @@ bl_info = { "name": "GP Render", "description": "Organise export of gp layers through compositor output", "author": "Samuel Bernou", - "version": (1, 8, 14), + "version": (1, 8, 15), "blender": (3, 0, 0), "location": "View3D", "warning": "", diff --git a/fn.py b/fn.py index 1f8640c..2e7a647 100644 --- a/fn.py +++ b/fn.py @@ -1939,7 +1939,7 @@ def connect_to_file_output(node_list, file_out=None, base_path='', excludes=None out_base = node.label else: out_base = node.name - bpy.path.clean_name(out_base) + out_base = bpy.path.clean_name(out_base) out_name = f'OUT_{out_base}' if outs: