From 35b731d8504bf19721e1182d20ed7af9b0a37a21 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 20 Mar 2024 13:12:47 +0100 Subject: [PATCH] Set half-edge geometry in `SplitFace` --- crates/fj-core/src/operations/split/face.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/fj-core/src/operations/split/face.rs b/crates/fj-core/src/operations/split/face.rs index 7bc70aac0..0acf856c5 100644 --- a/crates/fj-core/src/operations/split/face.rs +++ b/crates/fj-core/src/operations/split/face.rs @@ -7,6 +7,7 @@ use crate::{ operations::{ build::{BuildCycle, BuildHalfEdge}, derive::DeriveFrom, + geometry::UpdateHalfEdgeGeometry, insert::Insert, split::SplitEdge, update::{ @@ -110,6 +111,10 @@ impl SplitFace for Shell { half_edge .update_start_vertex(|_, _| b.start_vertex().clone(), core) .insert(core) + .set_path( + core.layers.geometry.of_half_edge(&half_edge).path, + &mut core.layers.geometry, + ) }; let dividing_half_edge_c_to_b = HalfEdge::from_sibling( &dividing_half_edge_a_to_d,