fix legacy slice/top conversion

This commit is contained in:
Stewart Allen 2025-02-26 19:03:24 -05:00
commit 5403fd8a07
2 changed files with 2 additions and 6 deletions

View file

@ -147,7 +147,7 @@ class Slice {
if (data.length) {
// standard legacy polygon
let top = new Top(data);
this.tops.push(data);
this.tops.push(top);
top.simple = data;
return top;
} else {