GPv3: Mask toggle in dopesheet channel

Add `use_mask` property in dopesheet layer channel.
Also add an icon to the `use_mask` property.

Pull Request: https://projects.blender.org/blender/blender/pulls/121259
This commit is contained in:
Pratik Borhade
2024-05-01 15:10:22 +02:00
committed by Falk David
parent c4e1be73b6
commit a42e2a5a29
4 changed files with 23 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ class GreasePencil_LayerMaskPanel:
grease_pencil = ob.data
layer = grease_pencil.layers.active
self.layout.prop(layer, "use_masks", text="")
self.layout.prop(layer, "use_masks", text="", toggle=0)
def draw(self, context):
layout = self.layout