Skip to content

Commit

Permalink
Refactor to improve clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Mar 13, 2024
1 parent 4047ba6 commit aa665fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/fj-core/src/operations/transform/surface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ impl TransformObject for Handle<Surface> {
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);
Expand Down

0 comments on commit aa665fb

Please sign in to comment.