From 912f61f9f56d58f220c67d01f0245a41348732fa Mon Sep 17 00:00:00 2001 From: Patrick Foley Date: Sun, 16 Apr 2023 23:58:45 +0200 Subject: [PATCH] Sculpt: updated Mask and Face Set menu operators Changed the menu operators: Expand Mask by Topology (hotkey Shift A) Expand Mask by Normals (hotkey Shift Alt A) Expand Face Set by Topology (hotkey Shift W) Expand Active Face Set (hotkey Shift Alt W) so that their hotkeys would appear in their menu entries. Resolves #104023 Co-authored-by: DisquietingFridge <30654622+DisquietingFridge@users.noreply.github.com> Pull Request: https://projects.blender.org/blender/blender/pulls/104568 --- release/scripts/startup/bl_ui/space_view3d.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 032fccf7d91..de0872b6ec7 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -3288,12 +3288,15 @@ class VIEW3D_MT_mask(Menu): props = layout.operator("sculpt.expand", text="Expand Mask by Topology") props.target = 'MASK' props.falloff_type = 'GEODESIC' - props.invert = True + props.invert = False + props.use_auto_mask = False + props.use_mask_preserve = True props = layout.operator("sculpt.expand", text="Expand Mask by Normals") props.target = 'MASK' props.falloff_type = 'NORMALS' props.invert = False + props.use_mask_preserve = True layout.separator() @@ -3351,12 +3354,14 @@ class VIEW3D_MT_face_sets(Menu): props.target = 'FACE_SETS' props.falloff_type = 'GEODESIC' props.invert = False + props.use_mask_preserve = False props.use_modify_active = False props = layout.operator("sculpt.expand", text="Expand Active Face Set") props.target = 'FACE_SETS' props.falloff_type = 'BOUNDARY_FACE_SET' props.invert = False + props.use_mask_preserve = False props.use_modify_active = True layout.separator()