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);