From 0f08d53b060f922cc8337950e85eee410aa22076 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Sun, 15 Nov 2026 17:36:46 +0700 Subject: [PATCH] Image Trace: a closed seam run is the subpath itself #7814 made SubPath::anchors an Anchors, and #7810's seam fills, merged in the same batch, passed it to SubPath::new, which takes a Vec, so vectorcraft-trace doesn't compile on main. A closed subpath whose every segment is marked is its own run: clone it. --- crates/trace/src/seam.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/trace/src/seam.rs b/crates/trace/src/seam.rs index 5a1ffa96c5..726916e240 100644 --- a/crates/trace/src/seam.rs +++ b/crates/trace/src/seam.rs @@ -84,7 +84,7 @@ fn fills(paths: &[TracedPath]) -> Vec { continue; } if sp.closed && marks.iter().all(|&m| m) { - runs.push(SubPath::new(sp.anchors.clone(), true)); + runs.push(sp.clone()); continue; } // Start after an unmarked segment, so that a run across the subpath's first anchor