Retain planar measurement validation in the division branch

This commit is contained in:
ramox81 committed 2026-09-11 11:30:24 +03:00
1 parent 8979fa46c2
commit 2b2f4be5cf
1 file changed
+1
+1
View File
@@ -219,6 +219,7 @@ pub fn measure_entity(entity: &EntityType, segment_length: f64) -> Vec<EntityTyp
return vec![];
};
let total = curve.length();
if !total.is_finite() || total <= 1e-10 { return vec![]; }
let mut pts = Vec::new();
let mut walked = segment_length;
while walked < total - 1e-6 {