mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Fixed .
This commit is contained in:
parent
f5cb79ab7a
commit
5f37eddc1b
2 changed files with 3 additions and 5 deletions
|
@ -527,6 +527,8 @@ function find_anchor(anchor, geom) =
|
||||||
// Description:
|
// Description:
|
||||||
// Returns true if the given space-delimited string of tag names should currently be shown.
|
// Returns true if the given space-delimited string of tag names should currently be shown.
|
||||||
function attachment_is_shown(tags) =
|
function attachment_is_shown(tags) =
|
||||||
|
assert(!is_undef($tags_shown))
|
||||||
|
assert(!is_undef($tags_hidden))
|
||||||
let(
|
let(
|
||||||
tags = _str_char_split(tags, " "),
|
tags = _str_char_split(tags, " "),
|
||||||
shown = !$tags_shown || any([for (tag=tags) in_list(tag, $tags_shown)]),
|
shown = !$tags_shown || any([for (tag=tags) in_list(tag, $tags_shown)]),
|
||||||
|
@ -790,11 +792,7 @@ module attachable(
|
||||||
$parent_orient = orient;
|
$parent_orient = orient;
|
||||||
$parent_geom = geom;
|
$parent_geom = geom;
|
||||||
$parent_size = attach_geom_size(geom);
|
$parent_size = attach_geom_size(geom);
|
||||||
|
|
||||||
$attach_to = undef;
|
$attach_to = undef;
|
||||||
$tags_shown = undef;
|
|
||||||
$tags_hidden = undef;
|
|
||||||
|
|
||||||
if (attachment_is_shown($tags)) {
|
if (attachment_is_shown($tags)) {
|
||||||
if (is_undef($color)) {
|
if (is_undef($color)) {
|
||||||
children(0);
|
children(0);
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,179];
|
BOSL_VERSION = [2,0,180];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
|
Loading…
Reference in a new issue