From ee9dc0de0f70f027226c14a0129ef600de1451a7 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 14 Mar 2024 14:38:15 +0100 Subject: [PATCH] Refactor to prepare for follow-on change --- crates/fj-core/src/operations/update/half_edge.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/fj-core/src/operations/update/half_edge.rs b/crates/fj-core/src/operations/update/half_edge.rs index 6c2ff19be..c8992c629 100644 --- a/crates/fj-core/src/operations/update/half_edge.rs +++ b/crates/fj-core/src/operations/update/half_edge.rs @@ -52,8 +52,10 @@ impl UpdateHalfEdge for HalfEdge { update: impl FnOnce(SurfacePath) -> SurfacePath, core: &mut Core, ) -> Handle { + let path = update(self.path()); + HalfEdge::new( - update(self.path()), + path, self.boundary(), self.curve().clone(), self.start_vertex().clone(),