diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-22 12:19:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-22 12:19:27 +0400 |
commit | a735a2370b1e85dc555550cd604cf0434567d7ac (patch) | |
tree | a56232a3a451d4147334901d1f0a9e9c628724b1 /release | |
parent | 2abb727ced258796bf54aff637c502cd6554efb7 (diff) |
Weight gradient tool for weight paint mode
- blends from current weight into alpha zero.
- uses brush alpha & curve.
- respects weight paint vertex/face select modes.
- updates realtime.
Access With
- Alt+LMB (linear gradient)
- Ctrl+Alt+LMB (radial gradient)
note:
- WM_gesture_straightline_* are used but not well suited to this task, may end up replacing with own modal operator.
- Key handling works but needs to be done better.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 91132a72b07..09b32cd0c56 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -971,6 +971,7 @@ class VIEW3D_PT_tools_weightpaint(View3DPanel, Panel): col.operator("object.vertex_group_transfer_weight", text="Transfer Weights") col.operator("object.vertex_group_limit_total", text="Limit Total") col.operator("object.vertex_group_fix", text="Fix Deforms") + col.operator("paint.weight_gradient") class VIEW3D_PT_tools_weightpaint_options(Panel, View3DPaintPanel): |