Moved no_children to common.scad, and changed references to

echo_warning in skin.scad and polyhedra.scad.
This commit is contained in:
Adrian Mariano
2020-08-01 15:54:58 -04:00
parent 046266778c
commit 45a8b3ec6a
4 changed files with 17 additions and 130 deletions

View File

@@ -710,7 +710,7 @@ function regular_polyhedron_info(
info == "center" ? translation :
info == "type" ? entry[class] :
info == "name" ? entry[pname] :
echo_warning(str("Unknown info type '",info,"' requested"));
assert(false, str("Unknown info type '",info,"' requested"));