mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-25 10:37:56 +01:00
Fix #45 Overruling printer into tour state
This commit is contained in:
parent
8b0b8884ed
commit
f077fdd484
@ -57,11 +57,13 @@ function GrandTour(_name) {
|
||||
}
|
||||
}
|
||||
|
||||
// Overrule printer to tour mode, pausing status updates
|
||||
printer.overruleState(Printer.TOUR_STATE);
|
||||
|
||||
// bring up thermometer and progressbar to explain them
|
||||
thermometer.show();
|
||||
progressbar.show();
|
||||
message.hide();
|
||||
|
||||
};
|
||||
this.preStepCallback = function(index, tip) {
|
||||
// console.log("GrandTour >> f:preStepCallback() >> index: " + index);
|
||||
@ -361,8 +363,6 @@ function HelpTours() {
|
||||
self.currActiveTour = undefined;
|
||||
self.tourActive = false;
|
||||
|
||||
thermometer.hide();
|
||||
progressbar.hide();
|
||||
message.hide();
|
||||
printer.checkStatus();
|
||||
}
|
||||
|
@ -19,6 +19,7 @@ function Printer() {
|
||||
Printer.BUFFERING_STATE = "buffering"; // printer is buffering (recieving) data, but not yet printing
|
||||
Printer.PRINTING_STATE = "printing";
|
||||
Printer.STOPPING_STATE = "stopping"; // when you stop (abort) a print it prints the endcode
|
||||
Printer.TOUR_STATE = "tour"; // when in joyride mode
|
||||
|
||||
Printer.ON_BEFORE_UNLOAD_MESSAGE = "You're doodle is still being send to the printer, leaving will result in a incomplete 3D print";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user