add a no_popup arg in check layer for autobuild background mode

This commit is contained in:
pullusb
2024-09-04 17:38:00 +02:00
parent 747638eca9
commit 734714be09
2 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -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('EXEC_DEFAULT')
bpy.ops.gp.layers_state('EXEC_DEFAULT', no_popup=True)
## Set GP object data to single user (Individual viewlayers)
if self.make_gp_single_user: