fix z for shallow cloned infill

This commit is contained in:
Stewart Allen 2021-10-25 22:09:22 -04:00
commit d225370317
2 changed files with 8 additions and 4 deletions

View file

@ -820,6 +820,10 @@
}
}
// let emit = i === 0 ? 0 : extrude;
// handle shallow cloned infill
if (poly.z !== undefined) {
p = p.clone().setZ(poly.z);
}
addOutput(preout, p, emit, speed || printSpeed, extruder);
lp = p;
}, !poly.open);