This commit is contained in:
Hanno Braun 2022-11-11 16:58:03 +01:00
parent 73a411d902
commit 6f158e1f18
1 changed files with 3 additions and 5 deletions

View File

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