From bd341d6ff7794a9d9298aedec3f0836edc673d86 Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Mon, 14 Oct 2013 15:09:06 +0200 Subject: [PATCH] Also send next gcode part when buffering --- js/Printer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Printer.js b/js/Printer.js index 4469f4b..b06e734 100644 --- a/js/Printer.js +++ b/js/Printer.js @@ -152,7 +152,7 @@ function Printer() { //self.targetTemperature = settings["printer.temperature"]; // slight hack } else { // only if the state hasn't bin changed (by for example pressing stop) we send more gcode - if(self.state == Printer.STATE_PRINTING) { + if(self.state == Printer.STATE_PRINTING || self.state == Printer.STATE_BUFFERING) { console.log("sending next part"); self.sendPrintPart(sendIndex + sendLength, sendLength); }