From 9f1048481cd0e9e16a0b2f119aead35b5733eaad Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 29 Nov 2017 20:19:07 +0100 Subject: [PATCH] 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). --- release/scripts/startup/bl_ui/properties_data_mesh.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py index de55b4152ba..2ab9aa2e93f 100644 --- a/release/scripts/startup/bl_ui/properties_data_mesh.py +++ b/release/scripts/startup/bl_ui/properties_data_mesh.py @@ -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()