diff --git a/CHANGELOG.md b/CHANGELOG.md index cddc073..b7ff1b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ if duplicate, need to "connect" with namespace ('_duprender') or something Activate / deactivate layer opacity according to prefix Activate / deactivate all masks using MA layers --> + 1.8.2 - added: `Reset Layer State` (Check layer) in Autobuild diff --git a/OP_auto_build.py b/OP_auto_build.py index 9f48372..b6c6444 100644 --- a/OP_auto_build.py +++ b/OP_auto_build.py @@ -255,7 +255,7 @@ class GPEXP_OT_render_auto_build(bpy.types.Operator): ## Reset layer states -> 100% opacity (except mask layer 'MA' by default), remove use light, set default blend mode, hide material named "invisible". if self.reset_layers_state: - bpy.ops.gp.layers_state() + bpy.ops.gp.layers_state('EXEC_DEFAULT') ## Set GP object data to single user (Individual viewlayers) if self.make_gp_single_user: