From 79fbbaed92d1f5269e5f917c4f81dfeabf8a5714 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 29 Nov 2023 16:40:08 +0100 Subject: [PATCH] Refactor --- crates/fj-core/src/operations/sweep/region.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/fj-core/src/operations/sweep/region.rs b/crates/fj-core/src/operations/sweep/region.rs index 426e14d99..d9a2ef975 100644 --- a/crates/fj-core/src/operations/sweep/region.rs +++ b/crates/fj-core/src/operations/sweep/region.rs @@ -88,9 +88,10 @@ impl SweepRegion for Region { let top_surface = surface.translate(path, services).insert(services); let top_region = - Region::new(top_exterior, top_interiors, self.color()); + Region::new(top_exterior, top_interiors, self.color()) + .insert(services); - Face::new(top_surface, top_region.insert(services)) + Face::new(top_surface, top_region) }; faces.push(top_face);