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:
committed by
Falk David
parent
c4e1be73b6
commit
a42e2a5a29
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user