fix 'round' bug reports

This commit is contained in:
Stewart Allen 2021-03-02 18:36:08 -05:00
commit 3478b700f9

View file

@ -334,7 +334,7 @@
path.layer === 0 ? path.layer === 0 ?
(process.firstSliceHeight || process.sliceHeight) : path.height); (process.firstSliceHeight || process.sliceHeight) : path.height);
zpos = path.z; zpos = path.z || zpos;
subst.z = subst.Z = zpos.round(3); subst.z = subst.Z = zpos.round(3);
subst.e = subst.E = outputLength; subst.e = subst.E = outputLength;
subst.layer = layer; subst.layer = layer;