mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-17 09:59:39 +00:00
Fixed assert that broke stroke() for endcap paths.
This commit is contained in:
parent
9f630018f1
commit
22e512b287
2 changed files with 3 additions and 3 deletions
|
@ -121,8 +121,8 @@ module stroke(
|
||||||
|
|
||||||
endcap1 = first_defined([endcap1, endcaps, "round"]);
|
endcap1 = first_defined([endcap1, endcaps, "round"]);
|
||||||
endcap2 = first_defined([endcap2, endcaps, "round"]);
|
endcap2 = first_defined([endcap2, endcaps, "round"]);
|
||||||
assert(is_bool(endcap1) || is_string(endcap1));
|
assert(is_bool(endcap1) || is_string(endcap1) || is_path(endcap1));
|
||||||
assert(is_bool(endcap2) || is_string(endcap2));
|
assert(is_bool(endcap2) || is_string(endcap2) || is_path(endcap2));
|
||||||
|
|
||||||
endcap_width1 = first_defined([endcap_width1, endcap_width, 3.5]);
|
endcap_width1 = first_defined([endcap_width1, endcap_width, 3.5]);
|
||||||
endcap_width2 = first_defined([endcap_width2, endcap_width, 3.5]);
|
endcap_width2 = first_defined([endcap_width2, endcap_width, 3.5]);
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,267];
|
BOSL_VERSION = [2,0,268];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
|
Loading…
Reference in a new issue