Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Nov 11, 2022
1 parent 73a411d commit 6f158e1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions crates/fj-kernel/src/partial/objects/vertex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,9 @@ impl PartialSurfaceVertex {

let global_form = self
.global_form
.update_partial(|_| {
PartialGlobalVertex::from_surface_and_position(
&surface, position,
)
})
.merge_with(PartialGlobalVertex::from_surface_and_position(
&surface, position,
))
.into_full(objects)?;

Ok(SurfaceVertex::new(position, surface, global_form))
Expand Down

0 comments on commit 6f158e1

Please sign in to comment.