diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2013-06-05 02:30:41 +0400 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2013-06-05 02:30:41 +0400 |
commit | 6d9fcdf9830e26b1d5c7e5dda5d86229126599e9 (patch) | |
tree | 85e944c9e02a6e27e1d23151732694b711ef7cf6 /release | |
parent | 2230794e7347229e462ee8f8c57d6fd0330ee695 (diff) |
Added 'clear active group' to object data properties -> Vertex Groups -> pulldown menu
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_mesh.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py index 86a48999663..f85e7697df6 100644 --- a/release/scripts/startup/bl_ui/properties_data_mesh.py +++ b/release/scripts/startup/bl_ui/properties_data_mesh.py @@ -34,8 +34,9 @@ class MESH_MT_vertex_group_specials(Menu): layout.operator("object.vertex_group_copy_to_linked", icon='LINK_AREA') layout.operator("object.vertex_group_copy_to_selected", icon='LINK_AREA') layout.operator("object.vertex_group_mirror", icon='ARROW_LEFTRIGHT') - layout.operator("object.vertex_group_remove", icon='X', text="Delete All Vertex Groups").all = True - layout.operator("object.vertex_group_remove_from", icon='X', text="Remove Selected from All Vertex Groups").all = True + layout.operator("object.vertex_group_remove_from", icon='X', text="Remove from All Groups").use_all_groups = True + layout.operator("object.vertex_group_remove_from", icon='X', text="Clear Active Group").use_all_verts = True + layout.operator("object.vertex_group_remove", icon='X', text="Delete All Groups").all = True layout.separator() layout.operator("object.vertex_group_lock", icon='LOCKED', text="Lock All").action = 'LOCK' layout.operator("object.vertex_group_lock", icon='UNLOCKED', text="UnLock All").action = 'UNLOCK' |