diff --git a/crates/fj-core/src/operations/reverse/edge.rs b/crates/fj-core/src/operations/reverse/edge.rs index 6b8d808d6..84c47e982 100644 --- a/crates/fj-core/src/operations/reverse/edge.rs +++ b/crates/fj-core/src/operations/reverse/edge.rs @@ -10,7 +10,8 @@ use super::ReverseCurveCoordinateSystems; impl ReverseCurveCoordinateSystems for Handle { fn reverse_curve_coordinate_systems(&self, core: &mut Core) -> Self { - let path = core.layers.geometry.of_half_edge(self).path.reverse(); + let mut geometry = core.layers.geometry.of_half_edge(self); + geometry.path = geometry.path.reverse(); let boundary = self.boundary().reverse(); let half_edge = HalfEdge::new( @@ -23,7 +24,10 @@ impl ReverseCurveCoordinateSystems for Handle { core.layers.geometry.define_half_edge( half_edge.clone(), - HalfEdgeGeometry { path, boundary }, + HalfEdgeGeometry { + path: geometry.path, + boundary, + }, ); half_edge