chiark / gitweb /
Disable pause feature
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Thu, 27 Aug 2015 17:50:29 +0000 (13:50 -0400)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Thu, 27 Aug 2015 17:50:29 +0000 (13:50 -0400)
Cura/util/machineCom.py
Cura/util/printerConnection/serialConnection.py

index e6764400b4a9e7412cbb04bd3cf91e3ed4790a04..ad84d24fdb154b1867084e14ad467e9c1c65e42e 100644 (file)
@@ -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)
index 4b1d6bb55516adef38d354cb0f636dc6c80d09f0..dccaaed873b89e78a86dcece8345560a0ff7c33a 100644 (file)
@@ -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