mirror of https://github.com/hannobraun/Fornjot
Refactor
This commit is contained in:
parent
73a411d902
commit
6f158e1f18
|
@ -107,11 +107,9 @@ impl PartialSurfaceVertex {
|
||||||
|
|
||||||
let global_form = self
|
let global_form = self
|
||||||
.global_form
|
.global_form
|
||||||
.update_partial(|_| {
|
.merge_with(PartialGlobalVertex::from_surface_and_position(
|
||||||
PartialGlobalVertex::from_surface_and_position(
|
&surface, position,
|
||||||
&surface, position,
|
))
|
||||||
)
|
|
||||||
})
|
|
||||||
.into_full(objects)?;
|
.into_full(objects)?;
|
||||||
|
|
||||||
Ok(SurfaceVertex::new(position, surface, global_form))
|
Ok(SurfaceVertex::new(position, surface, global_form))
|
||||||
|
|
Loading…
Reference in New Issue