Merge branch 'fix_abort_sequence' of https://github.com/fieldOfView/Cura into fieldOfView-fix_abort_sequence

This commit is contained in:
Ruben D 2017-09-10 15:10:11 +02:00
commit 234e724fe9
No known key found for this signature in database
GPG key ID: 6B42C9465E304A62

View file

@ -622,8 +622,9 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
self._sendCommand("M140 S0") self._sendCommand("M140 S0")
self._sendCommand("M104 S0") self._sendCommand("M104 S0")
self._sendCommand("M107") self._sendCommand("M107")
# Home XY to prevent nozzle resting on aborted print
# Don't home bed because it may crash the printhead into the print on printers that home on the bottom
self.homeHead() self.homeHead()
self.homeBed()
self._sendCommand("M84") self._sendCommand("M84")
self._is_printing = False self._is_printing = False
self._is_paused = False self._is_paused = False