Avoid unused fill contour flag

This commit is contained in:
Dylan M. Taylor committed 2026-11-13 07:36:18 -05:00
1 parent 2a8bb6a4e3
commit ee548f530c
1 file changed
+1 -1
+1 -1
View File
@@ -252,7 +252,7 @@ fn flatten_contours_with_limits(path: &BezPath, max_segments: usize, max_points:
if total > max_points {
return Err(format!("path is too detailed (over {max_points} points)"));
}
for (points, closed) in &mut contours {
for (points, _) in &mut contours {
points.dedup_by(|a, b| a.distance(*b) < 1e-9);
}
contours.retain(|(points, _)| points.len() > 1);