0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-22 09:17:56 +01:00

Also send next gcode part when buffering

This commit is contained in:
peteruithoven 2013-10-14 15:09:06 +02:00
parent f84b1639d5
commit bd341d6ff7

View File

@ -152,7 +152,7 @@ function Printer() {
//self.targetTemperature = settings["printer.temperature"]; // slight hack //self.targetTemperature = settings["printer.temperature"]; // slight hack
} else { } else {
// only if the state hasn't bin changed (by for example pressing stop) we send more gcode // 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"); console.log("sending next part");
self.sendPrintPart(sendIndex + sendLength, sendLength); self.sendPrintPart(sendIndex + sendLength, sendLength);
} }