forked from 1b-agent/opencadstudio-upstream
fix: point cadkernel at upstream after #1352; unify duplicate-constraint message
- #1352 pinned cadkernel/cadkernel-constraints to ramox81's fork. Its one extra commit (cadkernel #67, SymmetricLineDirections) is now on HakanSeven12/cadkernel main as the same SHA, so the manifests and lock point back at the upstream repo at rev 0493b59. - SYCONSTRAINT reports a repeated relation with the same message Fix and Vertical use, as an error instead of plain output. - The knot-less spline test consumes the add_entity results. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
3ba7b38934
commit
2b69e6e94c
4 files changed
+7
-7
No files matched your search
@@ -3591,7 +3591,7 @@ impl OpenCADStudio {
|
||||
self.tabs[i].active_cmd = None;
|
||||
self.tabs[i].snap_result = None;
|
||||
self.command_line
|
||||
.push_output("The Symmetric constraint already exists.");
|
||||
.push_error("The constraint already exists on the selected objects.");
|
||||
return Task::none();
|
||||
}
|
||||
let constraints_before = self.tabs[i]
|
||||
|
||||
+2
-2
@@ -2419,8 +2419,8 @@ mod corrupt_guard_tests {
|
||||
#[test]
|
||||
fn knotless_spline_with_too_few_points_is_lowered_and_saves_as_dwg() {
|
||||
let mut doc = CadDocument::new();
|
||||
doc.add_entity(EntityType::Spline(knotless_spline(3, 2)));
|
||||
doc.add_entity(EntityType::Spline(knotless_spline(3, 1)));
|
||||
doc.add_entity(EntityType::Spline(knotless_spline(3, 2))).unwrap();
|
||||
doc.add_entity(EntityType::Spline(knotless_spline(3, 1))).unwrap();
|
||||
assert_eq!(purge_corrupt_entities(&mut doc), 1, "the lone point is dropped");
|
||||
let spline = doc
|
||||
.entities()
|
||||
|
||||
Reference in new issue
Block a user