From: Daid Date: Sat, 23 Jun 2012 10:15:29 +0000 (+0200) Subject: Fixed #140 X-Git-Tag: 12.07~32 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=8e6eec768f70427652b770758dc83db063e8b36e;p=cura.git Fixed #140 --- 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: