From 916cca4a637551c6dfeb88e356812aa191481803 Mon Sep 17 00:00:00 2001 From: Priyanshu Date: Tue, 6 May 2025 15:33:31 +0530 Subject: [PATCH] Fix a comment introduced in the previous commit (#2631) fix comment --- node-graph/gcore/src/vector/algorithms/bezpath_algorithms.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-graph/gcore/src/vector/algorithms/bezpath_algorithms.rs b/node-graph/gcore/src/vector/algorithms/bezpath_algorithms.rs index 85a0401a..9a0ee93a 100644 --- a/node-graph/gcore/src/vector/algorithms/bezpath_algorithms.rs +++ b/node-graph/gcore/src/vector/algorithms/bezpath_algorithms.rs @@ -62,7 +62,7 @@ pub fn sample_points_on_bezpath(bezpath: BezPath, spacing: f64, start_offset: f6 let mut next_length = length_up_to_next_sample_point - length_up_to_previous_segment; let mut next_segment_length = segments_length[next_segment_index]; - // Keep moving to the next segment while the length up to the next sample point is less or equals to the length up to the segment. + // Keep moving to the next segment while the length up to the next sample point is greater than the length up to the current segment. while next_length > next_segment_length { if next_segment_index == segments_length.len() - 1 { break;