fixed bug: when new job start, job progress is last 100%.

This commit is contained in:
Thomas Hou 2015-07-28 17:51:32 +08:00
parent 9a6099ffc2
commit 200ad3b888

View file

@ -389,6 +389,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
self._timeEstimationData = TimeEstimationHelper(rolling_window=rolling_window, threshold=threshold, countdown=countdown)
self._lastProgressReport = None
self._setProgressData(0, None, None, None)
self._setCurrentZ(None)
self._comm.startPrint()