Prepare for follow-on change

This commit is contained in:
Hanno Braun 2025-04-14 13:57:08 +02:00
parent 475fc027ba
commit f8da810858

View File

@ -78,9 +78,9 @@ impl VerticesFromSegments {
let vertices = segments
.iter()
.map(SketchSegment::start)
.copied()
.map(|point_local| {
.map(|segment| {
let point_local = *segment.start();
let point_global =
surface.geometry.point_from_local(point_local);
let vertex = Handle::new(Vertex::new(point_global));