diff --git a/src/mode/fdm/prepare.js b/src/mode/fdm/prepare.js index 75d45e10..bf79b246 100644 --- a/src/mode/fdm/prepare.js +++ b/src/mode/fdm/prepare.js @@ -408,10 +408,10 @@ let y = maxy; let z = minz; let b = Math.max(firstLayerBrim, 1); - print.addOutput(tmpout, newPoint(minx - b, y, z), 0, firstLayerSeek, tool); - print.addOutput(tmpout, newPoint(minx - 0, y, z), emit, firstLayerRate, tool); - print.addOutput(tmpout, newPoint(maxx + b, y, z), 0, firstLayerSeek, tool); - print.addOutput(tmpout, newPoint(maxx + 0, y, z), emit, firstLayerRate, tool); + print.addOutput(layerout, newPoint(minx - b, y, z), 0, firstLayerSeek, tool); + print.addOutput(layerout, newPoint(minx - 0, y, z), emit, firstLayerRate, tool); + print.addOutput(layerout, newPoint(maxx + b, y, z), 0, firstLayerSeek, tool); + print.addOutput(layerout, newPoint(maxx + 0, y, z), emit, firstLayerRate, tool); } } layerout.appendAll(tmpout);