From 1a992a1092af102c0a99e2bf44656439b729d9ed Mon Sep 17 00:00:00 2001 From: Pullusb Date: Mon, 25 Oct 2021 16:28:54 +0200 Subject: [PATCH] fix reset settings error --- OP_manage_outputs.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/OP_manage_outputs.py b/OP_manage_outputs.py index 2a73307..d752d71 100644 --- a/OP_manage_outputs.py +++ b/OP_manage_outputs.py @@ -230,7 +230,8 @@ 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_nam(scn.name)}/preview_' + scn.render.filepath = f'//render/preview/{bpy.path.clean_name(scn.name)}/preview_' + print(f'Scene {scn.name}: change output to {scn.render.filepath}') if not scn.use_nodes: continue @@ -241,8 +242,11 @@ class GPEXP_OT_reset_render_settings(bpy.types.Operator): if n.name.startswith('merge_NG_'): use_native_aa = False break - + + if scn.use_aa != use_native_aa: + print(f'Scene {scn.name}: changed scene AA settings, native AA = {use_native_aa}') fn.scene_aa(scene=scn, toggle=use_native_aa) + # set propertie on scn to reflect changes (without triggering update) scn['use_aa'] = use_native_aa