scn name fileout lowercased
0.6.7 - fix: scene.name lowercased when set in outputfile name (using reset settings operator)main
parent
4bdd6e9fb9
commit
046c60cec6
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
5
fn.py
5
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)
|
||||
|
|
Loading…
Reference in New Issue