Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2017-11-29 22:19:07 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-11-29 22:19:07 +0300
commit9f1048481cd0e9e16a0b2f119aead35b5733eaad (patch)
treefc61ece8c9dc0c7b0586ec66e60e19f77ac05c84 /release
parent5ec8a9ac27c2dcb654ba3a9057625687136cd87f (diff)
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).
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_mesh.py3
1 files changed, 2 insertions, 1 deletions
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()