GPv3: Add empty "Weights" menu in weight paint mode

This menu is just added as a stub for now.
This commit is contained in:
Falk David
2024-05-14 14:40:37 +02:00
parent 16af82a10f
commit 890105b5ef

View File

@@ -5921,6 +5921,13 @@ class VIEW3D_MT_weight_gpencil(Menu):
layout.menu("VIEW3D_MT_gpencil_autoweights")
class VIEW3D_MT_weight_grease_pencil(Menu):
bl_label = "Weights"
def draw(self, _context):
pass
class VIEW3D_MT_gpencil_animation(Menu):
bl_label = "Animation"
@@ -9232,6 +9239,7 @@ classes = (
VIEW3D_MT_edit_gpencil_showhide,
VIEW3D_MT_edit_greasepencil_showhide,
VIEW3D_MT_edit_greasepencil_cleanup,
VIEW3D_MT_weight_grease_pencil,
VIEW3D_MT_weight_gpencil,
VIEW3D_MT_gpencil_animation,
VIEW3D_MT_gpencil_simplify,