Fix reset layer state in autobuild
parent
1121c489a8
commit
747638eca9
|
@ -13,6 +13,7 @@ if duplicate, need to "connect" with namespace ('_duprender') or something
|
||||||
Activate / deactivate layer opacity according to prefix
|
Activate / deactivate layer opacity according to prefix
|
||||||
Activate / deactivate all masks using MA layers
|
Activate / deactivate all masks using MA layers
|
||||||
-->
|
-->
|
||||||
|
|
||||||
1.8.2
|
1.8.2
|
||||||
|
|
||||||
- added: `Reset Layer State` (Check layer) in Autobuild
|
- added: `Reset Layer State` (Check layer) in Autobuild
|
||||||
|
|
|
@ -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".
|
## 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:
|
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)
|
## Set GP object data to single user (Individual viewlayers)
|
||||||
if self.make_gp_single_user:
|
if self.make_gp_single_user:
|
||||||
|
|
Loading…
Reference in New Issue