From 2b6640dc0db8efea5af53456b1fd5cf9dde103f5 Mon Sep 17 00:00:00 2001 From: Pullusb Date: Mon, 25 Oct 2021 16:19:37 +0200 Subject: [PATCH] minifix on scene aa update 6.0.0 --- OP_manage_outputs.py | 2 ++ __init__.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/OP_manage_outputs.py b/OP_manage_outputs.py index f345377..2a73307 100644 --- a/OP_manage_outputs.py +++ b/OP_manage_outputs.py @@ -243,6 +243,8 @@ class GPEXP_OT_reset_render_settings(bpy.types.Operator): break 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 return {"FINISHED"} diff --git a/__init__.py b/__init__.py index 0f57a80..6d1f29e 100644 --- a/__init__.py +++ b/__init__.py @@ -28,7 +28,7 @@ from . import ui from .fn import scene_aa def update_scene_aa(context, scene): - scene_aa(toggle=bpy.context.scene.use_aa) + scene_aa(toggle=bpy.context.scene.use_aa) import bpy