From 90eaf73293e634f5ae8eb29af4d3f238956827de Mon Sep 17 00:00:00 2001 From: Garth Minette Date: Tue, 17 Nov 2020 17:22:38 -0800 Subject: [PATCH] Bugfix for sweep() endcaps. --- skin.scad | 2 +- version.scad | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/skin.scad b/skin.scad index ce50f9c..322bc1b 100644 --- a/skin.scad +++ b/skin.scad @@ -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)), ], ], diff --git a/version.scad b/version.scad index a6f9957..189eb41 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,468]; +BOSL_VERSION = [2,0,469]; // Section: BOSL Library Version Functions