From d67f9820b8f8376084adf5ad964c580c0944027f Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Wed, 23 Mar 2022 18:19:38 +0100 Subject: 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 --- release/scripts/startup/bl_ui/space_view3d.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'release') 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) -- cgit v1.2.3