Avoid use of PartialCurve's global_form field

This commit is contained in:
Hanno Braun 2023-02-21 13:15:18 +01:00
parent 5ee56a3ed8
commit 944f791cf1

View File

@ -223,7 +223,7 @@ impl HalfEdgeBuilder for PartialHalfEdge {
other: &Partial<HalfEdge>,
surface: &SurfaceGeometry,
) {
let global_curve = other.read().curve.read().global_form.clone();
let global_curve = other.read().global_form.read().curve.clone();
self.curve.write().global_form = global_curve.clone();
self.global_form.write().curve = global_curve;