From 5fed3493a86fcd4af58f1ed108e65695535b93ff Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Sat, 23 Mar 2024 00:43:01 +0100 Subject: [PATCH] Read geometry from layer in `BoundingVolume` impl --- crates/fj-core/src/algorithms/bounding_volume/edge.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fj-core/src/algorithms/bounding_volume/edge.rs b/crates/fj-core/src/algorithms/bounding_volume/edge.rs index c958d8e48..4e243d158 100644 --- a/crates/fj-core/src/algorithms/bounding_volume/edge.rs +++ b/crates/fj-core/src/algorithms/bounding_volume/edge.rs @@ -24,7 +24,7 @@ impl super::BoundingVolume<2> for Handle { SurfacePath::Line(_) => { let geometry = geometry.of_half_edge(self); - let points = self.boundary().inner.map(|point_curve| { + let points = geometry.boundary.inner.map(|point_curve| { geometry.path.point_from_path_coords(point_curve) });