Match default automatic constraint set

This commit is contained in:
ramox81 committed 2026-09-15 12:09:59 +03:00
1 parent 66be530655
commit b9ef0e3286
1 file changed
+8 -1
+8 -1
View File
@@ -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,