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:
Bastien Montagne 2017-11-29 20:19:07 +01:00
parent ff8c9c5931
commit 50ca70b275
1 changed files with 2 additions and 1 deletions

View File

@ -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()