mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-03-09 02:39:47 +00:00
Fix attachable(). Again. For real this time.
This commit is contained in:
parent
7e69100a53
commit
ab6f59867e
2 changed files with 11 additions and 11 deletions
|
@ -785,17 +785,17 @@ module attachable(
|
||||||
);
|
);
|
||||||
m = attach_transform(anchor,spin,orient,geom);
|
m = attach_transform(anchor,spin,orient,geom);
|
||||||
multmatrix(m) {
|
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)) {
|
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)) {
|
if (is_undef($color)) {
|
||||||
children(0);
|
children(0);
|
||||||
} else color($color) {
|
} else color($color) {
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,176];
|
BOSL_VERSION = [2,0,177];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
|
Loading…
Reference in a new issue