From cb4ec4397be394f568b7f5febba1bf69667755db Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Fri, 22 May 2015 17:54:50 -0400 Subject: [PATCH] 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 --- Cura/util/machineCom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2