diff --git a/transforms.scad b/transforms.scad index 83295a2..6f85836 100644 --- a/transforms.scad +++ b/transforms.scad @@ -551,7 +551,7 @@ function zrot(a=0, cp=undef, p=undef) = rot(a, cp=cp, p=p); // #stroke(path,closed=true); // stroke(scale([1.5,3],p=path),closed=true); function scale(v=1, p=undef) = - assert(is_vector(v)) + assert(is_num(v) || is_vector(v)) assert(is_undef(p) || is_list(p)) let(v = is_num(v)? [v,v,v] : v) is_undef(p)? ( diff --git a/version.scad b/version.scad index f37450e..93a8fe9 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,228]; +BOSL_VERSION = [2,0,229]; // Section: BOSL Library Version Functions