From 3ffc5583411ac6e1286586881bdbe1207a34b386 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 1 Jul 2022 10:20:07 +0200 Subject: Sculpt Curves: UI tweaks and shortcut * Minimum Distance -> Distance Mix * Max Count -> Count Max * Shift + A for selection grow This follows better the names we have in geometry nodes in the Distribute Points node when using the Poisson Disk method (Distance Min, Distance Max). The shortcut for the selection grow is the same we use in mesh sculpt for the Expand Mask operator (which behaves a bit similar). --- release/scripts/presets/keyconfig/keymap_data/blender_default.py | 1 + release/scripts/startup/bl_ui/space_view3d.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'release') diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index d12d68ee5a0..c0db6c5f523 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -5625,6 +5625,7 @@ def km_sculpt_curves(params): *_template_paint_radial_control("curves_sculpt"), *_template_items_select_actions(params, "sculpt_curves.select_all"), ("sculpt_curves.min_distance_edit", {"type": 'R', "value": 'PRESS', "shift": True}, {}), + ("sculpt_curves.select_grow", {"type": 'A', "value": 'PRESS', "shift": True}, {}), ]) return keymap diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index c2342e8949a..5a38c4175a8 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -550,12 +550,12 @@ class _draw_tool_settings_context_mode: row = layout.row(align=True) row.prop(brush.curves_sculpt_settings, "density_mode", text="", expand=True) row = layout.row(align=True) - row.prop(brush.curves_sculpt_settings, "minimum_distance") + row.prop(brush.curves_sculpt_settings, "minimum_distance", text="Distance Min") row.operator_context = 'INVOKE_REGION_WIN' row.operator("sculpt_curves.min_distance_edit", text="", icon='DRIVER_DISTANCE') row = layout.row(align=True) row.enabled = brush.curves_sculpt_settings.density_mode != 'REMOVE' - row.prop(brush.curves_sculpt_settings, "density_add_attempts", text="Max Count") + row.prop(brush.curves_sculpt_settings, "density_add_attempts", text="Count Max") layout.popover("VIEW3D_PT_tools_brush_falloff") layout.popover("VIEW3D_PT_curves_sculpt_add_shape", text="Curve Shape") elif curves_tool == "SLIDE": -- cgit v1.2.3