From 5544eba5ad653b11169cb60eefb64f590a884975 Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Thu, 27 Aug 2015 13:50:29 -0400 Subject: [PATCH] Disable pause feature --- 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 e6764400..ad84d24f 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 4b1d6bb5..dccaaed8 100644 --- a/Cura/util/printerConnection/serialConnection.py +++ b/Cura/util/printerConnection/serialConnection.py @@ -121,7 +121,7 @@ class serialConnection(printerConnectionBase.printerConnectionBase): #Returns true if we have the ability to pause the file printing. def hasPause(self): - return True + return False def isPaused(self): return self._commState == machineCom.MachineCom.STATE_PAUSED -- 2.30.2