skip purge block when no prior points output

This commit is contained in:
Stewart Allen 2022-06-16 11:21:46 -04:00
commit bc5e3eda24

View file

@ -625,7 +625,7 @@ FDM.prepare = function(widgets, settings, update) {
// if a declared extruder isn't used in a layer, use selected
// extruder to fill the relevant purge blocks for later support
track.slice().forEach(ext => {
if (lastOut) track.slice().forEach(ext => {
printPoint = purge(ext.extruder, track, layerout, printPoint, lastOut.z, lastExt, lastOffset);
});