Fix [#31322] Assign to Active Group adds new group
authorBastien Montagne <montagne29@wanadoo.fr>
Sat, 5 May 2012 17:33:18 +0000 (17:33 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Sat, 5 May 2012 17:33:18 +0000 (17:33 +0000)
release/scripts/startup/bl_ui/space_view3d.py

index 6c2e98337a7ec7b8dbd7882dc8da9ec6ef840daf..8070b60126a88eb416af6e4e89301c79a3543eb1 100644 (file)
@@ -1157,7 +1157,7 @@ class VIEW3D_MT_vertex_group(Menu):
         if ob.mode == 'EDIT' or (ob.mode == 'WEIGHT_PAINT' and ob.type == 'MESH' and ob.data.use_paint_mask_vertex):
             if ob.vertex_groups.active:
                 layout.separator()
-                layout.operator("object.vertex_group_assign", text="Assign to Active Group")
+                layout.operator("object.vertex_group_assign", text="Assign to Active Group").new = False
                 layout.operator("object.vertex_group_remove_from", text="Remove from Active Group").all = False
                 layout.operator("object.vertex_group_remove_from", text="Remove from All").all = True
                 layout.separator()