From 748e796b2bbd4aa81d710a742f7c849bb0fb66ef Mon Sep 17 00:00:00 2001 From: jyviko <2501648+jyviko@users.noreply.github.com> Date: Thu, 22 Oct 2026 07:42:04 -0400 Subject: [PATCH] kernel: sweep histories attach with no edge origins given Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017itGh5fpMEousnZ91cYcVt --- crates/kernel/src/smlib_sweeps.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/kernel/src/smlib_sweeps.rs b/crates/kernel/src/smlib_sweeps.rs index ed4055527d..72074cc5f7 100644 --- a/crates/kernel/src/smlib_sweeps.rs +++ b/crates/kernel/src/smlib_sweeps.rs @@ -284,7 +284,7 @@ mod imp { let brep = Brep::make_sphere(p(center), radius).map_err(|e| failed("sphere", e))?; let body = body_of(&brep, "sphere")?; let faces = body.face_count(); - record::attach(body, &[], Some(vec![record::profile(&[0usize]); faces]), Default::default()) + Ok(record::attach(body, &[], Some(vec![record::profile(&[0usize]); faces]), &[])) } /// A point a wall is known by: on its edge in the start plane, or inside it; and the piece @@ -407,7 +407,7 @@ mod imp { } fn with_history(body: Body, roles: &[Role], pieces: &[Piece]) -> Result { - record::attach(body, &[], Some(history(roles, pieces)), Default::default()) + Ok(record::attach(body, &[], Some(history(roles, pieces)), &[])) } /// The profile `pieces` on `plane`, moved `from` along its normal, extruded `distance`