diff --git a/common.scad b/common.scad index b02b240..d47f3a3 100644 --- a/common.scad +++ b/common.scad @@ -549,7 +549,10 @@ function segs(r) = // Arguments: // $children = number of children the module has. // Example: -// no_children($children); +// module foo() { +// no_children($children); +// } +// foo(); module no_children(count) { assert($children==0, "Module no_children() does not support child modules"); assert(count==0, str("Module ",parent_module(1),"() does not support child modules")); diff --git a/version.scad b/version.scad index 41e6841..3c31e41 100644 --- a/version.scad +++ b/version.scad @@ -6,7 +6,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,546]; +BOSL_VERSION = [2,0,547]; // Section: BOSL Library Version Functions