Fixed assert that broke stroke() for endcap paths.

This commit is contained in:
Revar Desmera 2020-04-13 19:10:00 -07:00
parent 9f630018f1
commit 22e512b287
2 changed files with 3 additions and 3 deletions

View File

@ -121,8 +121,8 @@ module stroke(
endcap1 = first_defined([endcap1, endcaps, "round"]);
endcap2 = first_defined([endcap2, endcaps, "round"]);
assert(is_bool(endcap1) || is_string(endcap1));
assert(is_bool(endcap2) || is_string(endcap2));
assert(is_bool(endcap1) || is_string(endcap1) || is_path(endcap1));
assert(is_bool(endcap2) || is_string(endcap2) || is_path(endcap2));
endcap_width1 = first_defined([endcap_width1, endcap_width, 3.5]);
endcap_width2 = first_defined([endcap_width2, endcap_width, 3.5]);

View File

@ -8,7 +8,7 @@
//////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,267];
BOSL_VERSION = [2,0,268];
// Section: BOSL Library Version Functions