Fix T53420: Vertex Groups: The "-" button gets a hidden function
Guess 'remove all unlocked' is new-ish feature... To be backported to 2.79a (I think).
This commit is contained in:
parent
5ec8a9ac27
commit
9f1048481c
Notes:
blender-bot
2023-02-14 12:01:57 +01:00
Referenced by issue #53683, 2.79a release Referenced by issue #53420, Vertex Groups: The "-" button gets a hidden function
|
@ -206,7 +206,8 @@ class DATA_PT_vertex_groups(MeshButtonsPanel, Panel):
|
|||
|
||||
col = row.column(align=True)
|
||||
col.operator("object.vertex_group_add", icon='ZOOMIN', text="")
|
||||
col.operator("object.vertex_group_remove", icon='ZOOMOUT', text="").all = False
|
||||
props = col.operator("object.vertex_group_remove", icon='ZOOMOUT', text="")
|
||||
props.all_unlocked = props.all = False
|
||||
col.menu("MESH_MT_vertex_group_specials", icon='DOWNARROW_HLT', text="")
|
||||
if group:
|
||||
col.separator()
|
||||
|
|
Loading…
Reference in New Issue