fix null polys

This commit is contained in:
Stewart Allen 2021-08-01 12:42:50 -04:00
commit 637c05cb54

View file

@ -57,7 +57,7 @@
return polys;
}
function toClipper(polys) {
function toClipper(polys = []) {
let out = [];
for (let poly of polys) {
poly.toClipper(out);