diff options
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 7c81c57cf2c..a8402af4a28 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -3090,19 +3090,15 @@ class VIEW3D_MT_mask(Menu): layout.separator() - props = layout.operator("sculpt.mask_expand", text="Expand Mask by Topology") - props.use_normals = False - props.keep_previous_mask = False + props = layout.operator("sculpt.expand", text="Expand Mask by Topology") + props.target = 'MASK' + props.falloff_type = 'GEODESIC' props.invert = True - props.smooth_iterations = 2 - props.create_face_set = False - props = layout.operator("sculpt.mask_expand", text="Expand Mask by Curvature") - props.use_normals = True - props.keep_previous_mask = True + props = layout.operator("sculpt.expand", text="Expand Mask by Normals") + props.target = 'MASK' + props.falloff_type = 'NORMALS' props.invert = False - props.smooth_iterations = 0 - props.create_face_set = False layout.separator() @@ -3156,6 +3152,20 @@ class VIEW3D_MT_face_sets(Menu): layout.separator() + props = layout.operator("sculpt.expand", text="Expand Face Set by Topology") + props.target = 'FACE_SETS' + props.falloff_type = 'GEODESIC' + props.invert = 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_modify_active = True + + layout.separator() + op = layout.operator("mesh.face_set_extract", text='Extract Face Set') layout.separator() |