fix poly clone Z bug affecting trace
This commit is contained in:
parent
3dfd210739
commit
9826a6b065
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue