From b9ef0e3286c1f571bba9a2cd9c92d7c66583df37 Mon Sep 17 00:00:00 2001 From: ramox81 <184937705+ramox81@users.noreply.github.com> Date: Tue, 15 Sep 2026 12:09:59 +0300 Subject: [PATCH] Match default automatic constraint set --- src/app/settings.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/app/settings.rs b/src/app/settings.rs index 12cf09c9d..6e075e9bb 100644 --- a/src/app/settings.rs +++ b/src/app/settings.rs @@ -67,7 +67,14 @@ impl Default for AutoConstrainSettings { fn default() -> Self { Self { priority: AutoConstraintKind::ALL.to_vec(), - enabled: AutoConstraintKind::ALL.to_vec(), + // Equal remains available in the priority list, but the reference + // application does not enable it in a fresh profile. Enabling it + // by default adds a redundant relation between equal-length line + // segments (including adjacent polyline segments). + enabled: AutoConstraintKind::ALL + .into_iter() + .filter(|kind| *kind != AutoConstraintKind::Equal) + .collect(), tangent_must_share_point: true, perpendicular_must_intersect: true, distance_tolerance: 0.05,