From: daid Date: Thu, 1 May 2014 07:14:12 +0000 (+0200) Subject: Ignore the G92 offset for the preview. X-Git-Tag: 14.06~27 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=23a95b897edcae8450c7bdb300512112a93f6c5f;p=cura.git Ignore the G92 offset for the preview. --- diff --git a/Cura/util/gcodeInterpreter.py b/Cura/util/gcodeInterpreter.py index ad399d70..e7407a92 100644 --- a/Cura/util/gcodeInterpreter.py +++ b/Cura/util/gcodeInterpreter.py @@ -219,12 +219,12 @@ class gcode(object): e = getCodeFloat(line, 'E') if e is not None: currentE = e - if x is not None: - posOffset[0] = pos[0] - x - if y is not None: - posOffset[1] = pos[1] - y - if z is not None: - posOffset[2] = pos[2] - z + #if x is not None: + # posOffset[0] = pos[0] - x + #if y is not None: + # posOffset[1] = pos[1] - y + #if z is not None: + # posOffset[2] = pos[2] - z else: print "Unknown G code:" + str(G) else: