Fix GlobalVertex duplication in build method

This commit is contained in:
Hanno Braun 2022-10-07 13:28:55 +02:00
parent f4ff958d03
commit 80784a1c3b

View File

@ -201,10 +201,9 @@ impl PartialHalfEdge {
let global_form = self let global_form = self
.global_form .global_form
.unwrap_or_else(|| { .unwrap_or_else(|| GlobalEdge::partial().into())
GlobalEdge::partial() .update_partial(|partial| {
.from_curve_and_vertices(&curve, &vertices) partial.from_curve_and_vertices(&curve, &vertices)
.into()
}) })
.into_full(objects); .into_full(objects);