diff --git a/crates/fj-kernel/src/builder/shell.rs b/crates/fj-kernel/src/builder/shell.rs index 8fc705d996..51b5ba2703 100644 --- a/crates/fj-kernel/src/builder/shell.rs +++ b/crates/fj-kernel/src/builder/shell.rs @@ -122,9 +122,11 @@ impl ShellBuilder { .into_iter() .zip(&surfaces) .map(|(bottom, surface): (Partial, _)| { - let [_, from] = &bottom.read().vertices; - - let from_surface = from.read().surface_form.clone(); + let from_surface = { + let [_, from] = &bottom.read().vertices; + let from = from.read(); + from.surface_form.clone() + }; let to = PartialSurfaceVertex { position: Some( from_surface.read().position.unwrap()