From ab6f59867ea34931791df0256e0f9506e0e22bdf Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Mon, 9 Mar 2020 21:15:04 -0700 Subject: [PATCH] Fix attachable(). Again. For real this time. --- attachments.scad | 20 ++++++++++---------- version.scad | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/attachments.scad b/attachments.scad index cf98cb3..b62d9ae 100644 --- a/attachments.scad +++ b/attachments.scad @@ -785,17 +785,17 @@ module attachable( ); m = attach_transform(anchor,spin,orient,geom); multmatrix(m) { + $parent_anchor = anchor; + $parent_spin = spin; + $parent_orient = orient; + $parent_geom = geom; + $parent_size = attach_geom_size(geom); + + $attach_to = undef; + $tags_shown = undef; + $tags_hidden = undef; + if (attachment_is_shown($tags)) { - $parent_anchor = anchor; - $parent_spin = spin; - $parent_orient = orient; - $parent_geom = geom; - $parent_size = attach_geom_size(geom); - - $attach_to = undef; - $tags_shown = undef; - $tags_hidden = undef; - if (is_undef($color)) { children(0); } else color($color) { diff --git a/version.scad b/version.scad index f780511..dca8fa0 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,176]; +BOSL_VERSION = [2,0,177]; // Section: BOSL Library Version Functions