diff options
author | Jacques Lucke <jacques@blender.org> | 2022-03-23 20:19:38 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-03-23 20:19:59 +0300 |
commit | d67f9820b8f8376084adf5ad964c580c0944027f (patch) | |
tree | 0c3eb60c1d4c8f70a32239c715f1dcec814c677f /release | |
parent | 5d38b13e61ff04df6b8b4e52541910167225a18e (diff) |
Curves: improve Comb brush
New supported features:
* 3D/spherical brush that samples a good position on the curves.
* Falloff.
The custom falloff curve mapping is not yet available in the ui because that
requires some more ui reorganization. This is better done when we have
a better understanding of what settings we need exactly.
Currently, the depth of the 3d brush is only sampled once per stroke, when
first pressing LMB. Sometimes it is expected that the depth of the brush can
change within a single brush. However, implementing that in a good way
is not straight forward and might need additional options. Therefore that
will be handled separately. Some experimentation results are in D14376.
Ref T96445.
Differential Revision: https://developer.blender.org/D14376
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 70bc14dbc2b..b9415d00871 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -502,6 +502,10 @@ class _draw_tool_settings_context_mode: header=True ) + if brush.curves_sculpt_tool == 'COMB': + layout.prop(brush, "falloff_shape", expand=True) + layout.prop(brush, "curve_preset") + if brush.curves_sculpt_tool == 'ADD': layout.prop(brush, "use_frontface") layout.prop(brush, "falloff_shape", expand=True) |