diff options
author | Joseph Eagar <joeedh@gmail.com> | 2021-09-09 21:06:24 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2021-09-09 21:06:24 +0300 |
commit | f52a03dd713e7396a948b1ca3207d57fca5610e9 (patch) | |
tree | ab2178baee256dc581279bd72b16d9126ce7b207 /release | |
parent | a52f89a446566381c28804f0b1150aa71b245d59 (diff) |
Sculpt dyntopo: Added a 'hard edge mode' option
to forcibly set autosmooth_fset_slide to zero
(i.e. treat face set boundaries as hard edges
and not project them on the surface).
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_paint_common.py | 10 |
1 files changed, 10 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 dd8873b84c5..bc76f338c38 100644 --- a/release/scripts/startup/bl_ui/properties_paint_common.py +++ b/release/scripts/startup/bl_ui/properties_paint_common.py @@ -549,7 +549,17 @@ def brush_settings(layout, context, brush, popover=False): if context.preferences.experimental.use_sculpt_tools_tilt and capabilities.has_tilt: layout.prop(brush, "tilt_strength_factor", slider=True) + UnifiedPaintPanel.prop_unified( + layout, + context, + brush, + "hard_edge_mode", + slider=True, + unified_name="use_unified_hard_edge_mode", + ) + row = layout.row(align=True) + row.prop(brush, "hardness", slider=True) row.prop(brush, "invert_hardness_pressure", text="") row.prop(brush, "use_hardness_pressure", text="") |