From 7c4f4f41875ca2a9907332e74186dca94879f74a Mon Sep 17 00:00:00 2001 From: nickthetait Date: Mon, 12 Oct 2015 15:11:23 -0600 Subject: [PATCH] Revert "Disable pause feature" This reverts commit 5544eba5ad653b11169cb60eefb64f590a884975. --- Cura/util/machineCom.py | 2 +- Cura/util/printerConnection/serialConnection.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cura/util/machineCom.py b/Cura/util/machineCom.py index ad84d24f..e6764400 100644 --- a/Cura/util/machineCom.py +++ b/Cura/util/machineCom.py @@ -597,7 +597,7 @@ class MachineCom(object): line = line[0] try: if line == 'M0' or line == 'M1': - #self.setPause(True) + self.setPause(True) line = 'M105' #Don't send the M0 or M1 to the machine, as M0 and M1 are handled as an LCD menu pause. if self._printSection in self._feedRateModifier: line = re.sub('F([0-9]*)', lambda m: 'F' + str(int(int(m.group(1)) * self._feedRateModifier[self._printSection])), line) diff --git a/Cura/util/printerConnection/serialConnection.py b/Cura/util/printerConnection/serialConnection.py index a2ecf76f..1fd0485d 100644 --- a/Cura/util/printerConnection/serialConnection.py +++ b/Cura/util/printerConnection/serialConnection.py @@ -124,7 +124,7 @@ class serialConnection(printerConnectionBase.printerConnectionBase): #Returns true if we have the ability to pause the file printing. def hasPause(self): - return False + return True def isPaused(self): return self._commState == machineCom.MachineCom.STATE_PAUSED -- 2.30.2