From d7ee8374f5269b6e5ec5e176dcbe8070c468e043 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 11 Oct 2022 13:22:52 +0200 Subject: [PATCH] Use default plane from `Objects` --- crates/fj-operations/src/sketch.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/fj-operations/src/sketch.rs b/crates/fj-operations/src/sketch.rs index 9da518db1..5195239c5 100644 --- a/crates/fj-operations/src/sketch.rs +++ b/crates/fj-operations/src/sketch.rs @@ -19,10 +19,10 @@ impl Shape for fj::Sketch { &self, config: &ValidationConfig, objects: &Objects, - planes: &Planes, + _: &Planes, _: &mut DebugInfo, ) -> Result, ValidationError> { - let surface = planes.xy(); + let surface = objects.surfaces.xy_plane(); let face = match self.chain() { fj::Chain::Circle(circle) => {