Bugfix for sweep() endcaps.

This commit is contained in:
Garth Minette 2020-11-17 17:22:38 -08:00
parent c56572db11
commit 90eaf73293
2 changed files with 2 additions and 2 deletions

View file

@ -891,7 +891,7 @@ function sweep(shape, transforms, closed=false, caps) =
for (rgn=regions) each [
for (path=select(rgn,0,-1))
sweep(path, transforms, closed=closed, caps=false),
if (fullcaps[0]) region_faces(rgn, reverse=true),
if (fullcaps[0]) region_faces(rgn, transform=transforms[0], reverse=true),
if (fullcaps[1]) region_faces(rgn, transform=select(transforms,-1)),
],
],

View file

@ -8,7 +8,7 @@
//////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,468];
BOSL_VERSION = [2,0,469];
// Section: BOSL Library Version Functions