diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-01-11 20:33:12 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-01-11 20:33:12 +0300 |
commit | 1b3b01135475d0f0edbc39e78fbe5da77b836b67 (patch) | |
tree | 9d907138563da7183035d9d9d3cd7642afcd5383 /release/scripts/startup/bl_ui/space_view3d_toolbar.py | |
parent | a628a8240ed151326001a106d784823ae4276175 (diff) |
Transfer data: cleanup: Remove 'vertex_group_transfer_weight' operator.
We can now use 'generic' data transfer instead.
Note new one is not an exact replacement, it should be able to do
everyting old op could do though, and more.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d_toolbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 7aa80bcd791..9dc720a29f2 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1597,7 +1597,9 @@ class VIEW3D_PT_tools_weightpaint(View3DPanel, Panel): col = layout.column() col.operator("paint.weight_gradient") - col.operator("object.vertex_group_transfer_weight", text="Transfer Weights") + prop = col.operator("object.data_transfer", text="Transfer Weights") + prop.use_reverse_transfer = True + prop.data_type = 'VGROUP_WEIGHTS' class VIEW3D_PT_tools_weightpaint_options(Panel, View3DPaintPanel): |