Skip to content

SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

Fix main: a test built Applying without the new seen field (#4001)

bherbruck7803b3968fad
diff --git a/crates/ui-egui/src/dialogs_sketch_tests.rs b/crates/ui-egui/src/dialogs_sketch_tests.rs
index 01918d4141..091d5775da 100644
--- a/crates/ui-egui/src/dialogs_sketch_tests.rs
+++ b/crates/ui-egui/src/dialogs_sketch_tests.rs
@@ -195,7 +195,7 @@ fn apply_keeps_the_panel_open_after_asynchronous_evaluation() {
d.repeat_after_apply = true;
h.app.dialog = Some(d);
let (finish, done) = std::sync::mpsc::channel();
- h.app.applying = Some(Applying { done, started: crate::now_ms(), cmds });
+ h.app.applying = Some(Applying { done, started: crate::now_ms(), cmds, seen: true });
let undo = h.app.session.undo.len();
h.frames(2);
assert_eq!(h.app.session.undo.len(), undo);