Upgrade and document the math operation nodes

This commit is contained in:
Keavon Chambers
2024-11-09 23:23:25 -08:00
parent de366f9514
commit d649052255
5 changed files with 148 additions and 62 deletions

View File

@@ -859,7 +859,7 @@ async fn splines_from_points<F: 'n + Send>(
let mut segment_domain = SegmentDomain::default();
for subpath in vector_data.stroke_bezier_paths() {
let positions = subpath.manipulator_groups().iter().map(|group| group.anchor).collect::<Vec<_>>();
let closed = subpath.closed();
let closed = subpath.closed() && positions.len() > 2;
// Compute control point handles for Bezier spline.
let first_handles = if closed {