diff options
author | Jacques Lucke <jacques@blender.org> | 2022-05-05 13:11:50 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-05-05 13:11:50 +0300 |
commit | dbba5c4df973a0120ed9ed115cd9044b2f1d24a5 (patch) | |
tree | a3ad2b032626204fd903577017d5a38894947b42 /release | |
parent | b4fa74e812939fdfbcb430013b63020257cdac27 (diff) |
Curves: control number of control points in new curves
Previously, the number of control points in a new curve was hardcoded.
Differential Revision: https://developer.blender.org/D14857
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_paint_common.py | 1 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py index e14172873bc..5283a3691c0 100644 --- a/release/scripts/startup/bl_ui/properties_paint_common.py +++ b/release/scripts/startup/bl_ui/properties_paint_common.py @@ -929,6 +929,7 @@ def brush_settings_advanced(layout, context, brush, popover=False): elif mode == 'SCULPT_CURVES': if brush.curves_sculpt_tool == 'ADD': layout.prop(brush.curves_sculpt_settings, "add_amount") + layout.prop(brush.curves_sculpt_settings, "points_per_curve") layout.prop(brush.curves_sculpt_settings, "curve_length") layout.prop(brush.curves_sculpt_settings, "interpolate_length") layout.prop(brush.curves_sculpt_settings, "interpolate_shape") diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index b27122d94ce..b65079c0f36 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -519,6 +519,7 @@ class _draw_tool_settings_context_mode: layout.prop(brush, "use_frontface", text="Front Faces Only") layout.prop(brush, "falloff_shape", expand=True) layout.prop(brush.curves_sculpt_settings, "add_amount") + layout.prop(brush.curves_sculpt_settings, "points_per_curve") layout.prop(brush.curves_sculpt_settings, "curve_length") layout.prop(brush.curves_sculpt_settings, "interpolate_length") layout.prop(brush.curves_sculpt_settings, "interpolate_shape") |