From d0035c3f3aadb9ec8341665703308ec2e178400c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Sun, 9 Jun 2013 19:05:37 +0200 Subject: [PATCH] Removed reference to remove feedratemodifier --- octoprint/util/comm.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/octoprint/util/comm.py b/octoprint/util/comm.py index fbb8676..5f9a3cc 100644 --- a/octoprint/util/comm.py +++ b/octoprint/util/comm.py @@ -951,8 +951,6 @@ class MachineCom(object): if matchesGcode(line, "M0") or matchesGcode(line, "M1"): 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) if (matchesGcode(line, "G0") or matchesGcode(line, "G1")) and 'Z' in line: z = float(re.search('Z([0-9\.]*)', line).group(1)) if self._currentZ != z: