mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-23 00:26:08 +00:00
Be more explicit about selecting shell
This commit is contained in:
parent
26833c0da5
commit
bb9e8d4daa
@ -22,7 +22,7 @@ pub fn model(
|
||||
let cuboid = cuboid::model([size * 2., size, size], services);
|
||||
|
||||
cuboid
|
||||
.update_shell(cuboid.shells().first(), |shell| {
|
||||
.update_shell(cuboid.shells().only(), |shell| {
|
||||
let bottom_face = shell.faces().first();
|
||||
let offset = size / 2.;
|
||||
let depth = size / 2.;
|
||||
|
Loading…
Reference in New Issue
Block a user