From 8e6eec768f70427652b770758dc83db063e8b36e Mon Sep 17 00:00:00 2001 From: Daid Date: Sat, 23 Jun 2012 12:15:29 +0200 Subject: [PATCH] Fixed #140 --- Cura/util/gcodeInterpreter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cura/util/gcodeInterpreter.py b/Cura/util/gcodeInterpreter.py index 2d92e9fc..efa2d562 100644 --- a/Cura/util/gcodeInterpreter.py +++ b/Cura/util/gcodeInterpreter.py @@ -194,11 +194,11 @@ class gcode(object): if e is not None: currentE = e if x is not None: - posOffset.x = pos.x + x + posOffset.x = pos.x - x if y is not None: - posOffset.y = pos.y + y + posOffset.y = pos.y - y if z is not None: - posOffset.z = pos.z + z + posOffset.z = pos.z - z else: print "Unknown G code:" + str(G) else: -- 2.30.2