diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-10-06 12:11:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-10-06 12:15:28 +0300 |
commit | 471be7e7f58a4776857666df13e473c8ea0f4fd5 (patch) | |
tree | d45b4a0924de93591ca9d12e5668466f87df322e /release | |
parent | 6c43490616973af78f91062df402e2ca34cedac5 (diff) |
Vertex Paint: move normal falloff into the brush
All related settings are already in the brush,
so it's inconvenient to switch panels to change this one option.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 62e88e47e20..dedad63833a 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1139,6 +1139,12 @@ class VIEW3D_PT_tools_brush(Panel, View3DPaintPanel): col.separator() col.prop(brush, "use_frontface", text="Front Faces Only") + row = col.row() + row.prop(brush, "use_frontface_falloff", text="Falloff Angle") + sub = row.row() + sub.active = brush.use_frontface_falloff + sub.prop(brush, "falloff_angle", text="") + col.prop(brush, "use_projected") col = layout.column() @@ -1175,6 +1181,12 @@ class VIEW3D_PT_tools_brush(Panel, View3DPaintPanel): col.separator() col.prop(brush, "use_frontface", text="Front Faces Only") + row = col.row() + row.prop(brush, "use_frontface_falloff", text="Falloff Angle") + sub = row.row() + sub.active = brush.use_frontface_falloff + sub.prop(brush, "falloff_angle", text="") + col.prop(brush, "use_projected") col.separator() @@ -1767,16 +1779,7 @@ class VIEW3D_PT_tools_weightpaint_options(Panel, View3DPaintPanel): wpaint = tool_settings.weight_paint col = layout.column() - col.label("Falloff:") - - row = col.row() - row.prop(wpaint, "use_normal_falloff") - sub = row.row() - sub.active = (wpaint.use_normal_falloff) - sub.prop(wpaint, "normal_angle", text="") - col = layout.column() - row = col.row() - row.prop(wpaint, "use_group_restrict") + col.prop(wpaint, "use_group_restrict") obj = context.weight_paint_object if obj.type == 'MESH': |