[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46322] trunk/blender/release/scripts/ startup/bl_ui/space_view3d.py: Fix [#31322] Assign to Active Group adds new group

Bastien Montagne montagne29 at wanadoo.fr
Sat May 5 19:33:18 CEST 2012


Revision: 46322
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46322
Author:   mont29
Date:     2012-05-05 17:33:18 +0000 (Sat, 05 May 2012)
Log Message:
-----------
Fix [#31322] Assign to Active Group adds new group

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/space_view3d.py

Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_view3d.py	2012-05-05 17:25:58 UTC (rev 46321)
+++ trunk/blender/release/scripts/startup/bl_ui/space_view3d.py	2012-05-05 17:33:18 UTC (rev 46322)
@@ -1157,7 +1157,7 @@
         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()




More information about the Bf-blender-cvs mailing list