Added new function 'Remove Selection from All Vertex Groups' to the Vertex Group Special functions popup

This commit is contained in:
Gaia Clary 2013-01-15 16:07:43 +00:00
parent 73c7c10c6e
commit 51f36ac80a

@ -34,7 +34,8 @@ 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").all = True
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.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'