fix poly clone Z bug affecting trace

This commit is contained in:
Stewart Allen 2024-11-15 12:21:50 -05:00
commit 9826a6b065

View file

@ -956,6 +956,7 @@ class Polygon {
ln = ar.length,
i = 0;
while (i < ln) ar[i++].z = z;
this.z = z;
if (this.inner) this.inner.forEach(c => c.setZ(z));
return this;
}