diff options
author | Youness Alaoui <kakaroto@kakaroto.homelinux.net> | 2015-08-27 20:50:29 +0300 |
---|---|---|
committer | Youness Alaoui <kakaroto@kakaroto.homelinux.net> | 2015-08-27 20:50:29 +0300 |
commit | 5544eba5ad653b11169cb60eefb64f590a884975 (patch) | |
tree | a6b1725a3769117268d0d465b743a378e14f1070 | |
parent | c9bb316cbe46c0db5a2d4f0b513db39bc35a08ba (diff) |
Disable pause feature
-rw-r--r-- | Cura/util/machineCom.py | 2 | ||||
-rw-r--r-- | 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 e6764400b4..ad84d24fdb 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 4b1d6bb555..dccaaed873 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 |