From bce00b605c7e517336defa1a3e673944a0dbb07f Mon Sep 17 00:00:00 2001 From: Gaia Clary Date: Wed, 3 Jul 2013 15:57:30 +0000 Subject: Weight Paint: Enable Transfer Weights tool for Obejcts with no Vertex Groups --- release/scripts/startup/bl_ui/space_view3d_toolbar.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 444002a0702..535011f184f 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1126,7 +1126,10 @@ class VIEW3D_PT_tools_weightpaint(View3DPanel, Panel): 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") -- cgit v1.2.3