From acdaaabe1d9b409c4254a92ae955df1212bf5325 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Fri, 7 Oct 2022 14:58:04 +0200 Subject: [PATCH] Fix object duplication in `as_circle_from_radius` --- crates/fj-kernel/src/partial/objects/edge.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/fj-kernel/src/partial/objects/edge.rs b/crates/fj-kernel/src/partial/objects/edge.rs index 9ce9b3dc6..0789c889c 100644 --- a/crates/fj-kernel/src/partial/objects/edge.rs +++ b/crates/fj-kernel/src/partial/objects/edge.rs @@ -85,6 +85,7 @@ impl PartialHalfEdge { /// Update partial half-edge as a circle, from the given radius pub fn as_circle_from_radius(mut self, radius: impl Into) -> Self { let curve = Handle::::partial() + .with_global_form(self.extract_global_curve()) .with_surface(self.surface.clone()) .as_circle_from_radius(radius);