mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-01 23:40:17 +02:00
Fixed .
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user