From aa665fb4c3a4d87fd55103b8ca0af34f0c02c79d Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 13 Mar 2024 14:50:46 +0100 Subject: [PATCH] Refactor to improve clarity --- crates/fj-core/src/operations/transform/surface.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/fj-core/src/operations/transform/surface.rs b/crates/fj-core/src/operations/transform/surface.rs index 9afde5d98..220533044 100644 --- a/crates/fj-core/src/operations/transform/surface.rs +++ b/crates/fj-core/src/operations/transform/surface.rs @@ -16,10 +16,10 @@ impl TransformObject for Handle { cache .entry(self) .or_insert_with(|| { - let geometry = - core.layers.geometry.of_surface(self).transform(transform); let surface = Surface::new().insert(core); + let geometry = + core.layers.geometry.of_surface(self).transform(transform); core.layers .geometry .define_surface(surface.clone(), geometry);