forked from 1b-agent/opencadstudio-upstream
Polish automatic constraint integration
This commit is contained in:
1 parent
c9eeb6f66e
commit
f61174eaad
3 files changed
+20
-11
No files matched your search
+2
-4
@@ -67,10 +67,8 @@ impl Default for AutoConstrainSettings {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
priority: 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).
|
||||
// Keep Equal available without creating redundant relations
|
||||
// between equal-length segments by default.
|
||||
enabled: AutoConstraintKind::ALL
|
||||
.into_iter()
|
||||
.filter(|kind| *kind != AutoConstraintKind::Equal)
|
||||
|
||||
Reference in new issue
Block a user