fix polygon perimeter() and restore gyroid filter

This commit is contained in:
Stewart Allen 2021-06-20 18:59:59 -04:00
commit f12b3f2e9f
2 changed files with 2 additions and 2 deletions

View file

@ -1338,7 +1338,7 @@
* @returns {number} perimeter length (sum of all segment lengths)
*/
PRO.perimeter = function() {
if (this.perim !== 0.0) {
if (this.perim) {
return this.perim;
}