diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-02-25 19:54:09 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-02-25 19:54:09 +0300 |
commit | ce81cce75d4dc0d2defc1a3efe18998dd975ffed (patch) | |
tree | 1b17400dd35fb0ede47cd9dfcfa6e999357aea2b /release/scripts/ui | |
parent | d6f69a2c194b3b35f52c8e691c7d9b7625a727f8 (diff) |
Fix #26158: The layer hight of the layer tool cannot longer be controled by the strength of the brush, as it was in 2.49
Layer height used to be controlled with brush radius, quite confusing decision.
Added new property for brushes - height for adjusting affectable brush height
(it could be not only layer height in the future).
Diffstat (limited to 'release/scripts/ui')
-rw-r--r-- | release/scripts/ui/space_view3d_toolbar.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/ui/space_view3d_toolbar.py b/release/scripts/ui/space_view3d_toolbar.py index 563eeb5e893..106cf608554 100644 --- a/release/scripts/ui/space_view3d_toolbar.py +++ b/release/scripts/ui/space_view3d_toolbar.py @@ -578,6 +578,10 @@ class VIEW3D_PT_tools_brush(PaintPanel, bpy.types.Panel): row.active = brush.use_plane_trim row.prop(brush, "plane_trim", slider=True, text="Distance") + if brush.sculpt_tool == 'LAYER': + row = col.row() + row.prop(brush, "height", slider=True, text="Height") + col.separator() row = col.row() |