GPv3: Topbar layers panel in vertex paint mode
Expose topbar layer panel in vertex paint mode. Pull Request: https://projects.blender.org/blender/blender/pulls/127851
This commit is contained in:
committed by
Falk David
parent
38e15412dd
commit
8badadd52f
@@ -239,7 +239,7 @@ class VIEW3D_HT_tool_header(Header):
|
||||
panel="TOPBAR_PT_gpencil_layers",
|
||||
text=text,
|
||||
)
|
||||
elif mode_string in {'EDIT_GREASE_PENCIL', 'PAINT_GREASE_PENCIL', 'SCULPT_GREASE_PENCIL', 'WEIGHT_GREASE_PENCIL'}:
|
||||
elif mode_string in {'EDIT_GREASE_PENCIL', 'PAINT_GREASE_PENCIL', 'SCULPT_GREASE_PENCIL', 'WEIGHT_GREASE_PENCIL', 'VERTEX_GREASE_PENCIL'}:
|
||||
layer = context.object.data.layers.active
|
||||
group = context.object.data.layer_groups.active
|
||||
text = "Layer"
|
||||
|
||||
Reference in New Issue
Block a user