From 6d9fcdf9830e26b1d5c7e5dda5d86229126599e9 Mon Sep 17 00:00:00 2001 From: Gaia Clary Date: Tue, 4 Jun 2013 22:30:41 +0000 Subject: Added 'clear active group' to object data properties -> Vertex Groups -> pulldown menu --- release/scripts/startup/bl_ui/properties_data_mesh.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'release') 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' -- cgit v1.2.3