diff --git a/CHANGELOG.md b/CHANGELOG.md index db7bae7..d725601 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ Activate / deactivate all masks using MA layers 0.6.7 - fix: export json crop use scene name instead of first found GP. +- fix: scene.name lowercased when set in outputfile name (using reset settings operator) 0.6.6 diff --git a/OP_manage_outputs.py b/OP_manage_outputs.py index d752d71..7b292f9 100644 --- a/OP_manage_outputs.py +++ b/OP_manage_outputs.py @@ -230,7 +230,7 @@ class GPEXP_OT_reset_render_settings(bpy.types.Operator): # - allow to monitor output of a scene and possibly use Overwrite if scn.render.filepath.startswith('//render/preview/'): - scn.render.filepath = f'//render/preview/{bpy.path.clean_name(scn.name)}/preview_' + scn.render.filepath = f'//render/preview/{bpy.path.clean_name(scn.name.lower())}/preview_' print(f'Scene {scn.name}: change output to {scn.render.filepath}') if not scn.use_nodes: diff --git a/fn.py b/fn.py index f3ad0db..12180a1 100644 --- a/fn.py +++ b/fn.py @@ -1067,6 +1067,11 @@ def split_object_to_scene(): new = bpy.context.scene new.name = scene_name + ## OPT + ## set individual output for composite or go in /tmp ? (might not be needed) + # new.render.filepath = f'//render/preview/{bpy.path.clean_name(new.name.lower())}/preview_' + # new.render.filepath = f'/tmp/' + ## unlink unwanted objects from collection all_col = [new.collection] all_col += get_collection_childs_recursive(new.collection)