fix last extruder and purge tower typo

This commit is contained in:
Stewart Allen 2021-11-08 22:46:25 -05:00
commit c8774a157e

View file

@ -280,7 +280,7 @@
layer.last().retract = true;
}
start = print.polyPrintPath(rec.poly.clone().setZ(z), start, layer, {
tool: using || nozzle,
tool: using !== undefined ? using : nozzle,
open: true,
simple: true
});
@ -415,7 +415,7 @@
}
);
lastOut = slice;
lastExt = lastOut.ext
lastExt = lastOut.extruder;
lastPoly = slice.lastPoly;
lastLayer = layerout;
if (layerRetract && layerout.length) {