openscad / MCAD

OpenSCAD Parametric CAD Library (LGPL 2.1)
http://reprap.org/wiki/MCAD
578 stars 192 forks source link

Fix centering logic for translations #57

Closed dyanawu closed 5 years ago

dyanawu commented 5 years ago

len() testing throws a warning in openscad2019 and up. Using the built-in is_bool() instead fixes this.