Add soft min and max constraints for frame resolution and cutout edge length properties

This commit is contained in:
2026-09-13 11:22:20 +08:00
parent 18799e8828
commit 2a00ed0ee6
21 changed files with 3834 additions and 1293 deletions

View File

@@ -237,7 +237,7 @@ def cutout_alpha_threshold_property():
def cutout_fine_outline_property():
return bpy.props.BoolProperty(
name="Fine Outline",
description="Fit detailed outlines and support thin parts; disable for simpler, faster meshes",
description="Preserve detailed outlines and meaningful holes; disable to fill holes and simplify outlines",
default=False,
)
@@ -265,6 +265,8 @@ def cutout_edge_length_property(*, store_meters=False, **options):
description="Target mesh edge length in world space",
default=0.1,
min=1e-6,
soft_min=0.01,
soft_max=1.0,
unit="LENGTH",
subtype="DISTANCE",
**options,