From: Youness Alaoui Date: Fri, 22 May 2015 21:54:50 +0000 (-0400) Subject: When a M0/M1 (pause) command is sent, we should pause the print instead X-Git-Tag: lulzbot-15.02.1-1.01~15 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=cb4ec43;p=cura.git When a M0/M1 (pause) command is sent, we should pause the print instead This will fix issues with the pause-at-z plugin on the Mini for example Fixes issue #102 --- diff --git a/Cura/util/machineCom.py b/Cura/util/machineCom.py index 650452df..5fe86611 100644 --- a/Cura/util/machineCom.py +++ b/Cura/util/machineCom.py @@ -587,7 +587,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)