From: nickthetait Date: Mon, 12 Oct 2015 21:11:23 +0000 (-0600) Subject: Revert "Disable pause feature" X-Git-Tag: lulzbot-17.14~10 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=7c4f4f41875ca2a9907332e74186dca94879f74a;p=cura.git Revert "Disable pause feature" This reverts commit 5544eba5ad653b11169cb60eefb64f590a884975. --- 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