[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57965] trunk/blender/release/scripts/ startup/bl_ui/space_view3d_toolbar.py: Weight Paint: Enable Transfer Weights tool for Obejcts with no Vertex Groups

Gaia Clary gaia.clary at machinimatrix.org
Wed Jul 3 17:57:31 CEST 2013


Revision: 57965
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57965
Author:   gaiaclary
Date:     2013-07-03 15:57:30 +0000 (Wed, 03 Jul 2013)
Log Message:
-----------
Weight Paint: Enable Transfer Weights tool for Obejcts with no Vertex Groups

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

Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py	2013-07-03 15:33:14 UTC (rev 57964)
+++ trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py	2013-07-03 15:57:30 UTC (rev 57965)
@@ -1126,7 +1126,10 @@
         col.operator("object.vertex_group_clean", text="Clean")
         col.operator("object.vertex_group_levels", text="Levels")
         col.operator("object.vertex_group_blend", text="Blend")
+        col = layout.column()
         col.operator("object.vertex_group_transfer_weight", text="Transfer Weights")
+        col = layout.column()
+        col.active = ob.vertex_groups.active is not None
         col.operator("object.vertex_group_limit_total", text="Limit Total")
         col.operator("object.vertex_group_fix", text="Fix Deforms")
         col.operator("paint.weight_gradient")




More information about the Bf-blender-cvs mailing list