fix null polys
This commit is contained in:
parent
11f308af76
commit
637c05cb54
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@
|
|||
return polys;
|
||||
}
|
||||
|
||||
function toClipper(polys) {
|
||||
function toClipper(polys = []) {
|
||||
let out = [];
|
||||
for (let poly of polys) {
|
||||
poly.toClipper(out);
|
||||
|
|
|
|||
Loading…
Reference in a new issue