From: Martin Wickham Date: Thu, 15 Jan 2015 07:59:20 +0000 (-0600) Subject: Fix G90/G91 interpretation regarding relative e X-Git-Tag: 15.01-RC9~4^2^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=cbfaa9be6ade89a8e91b1cac47fa780a2fe49ef3;p=cura.git Fix G90/G91 interpretation regarding relative e --- diff --git a/Cura/util/gcodeInterpreter.py b/Cura/util/gcodeInterpreter.py index 1c8532c9..00353148 100644 --- a/Cura/util/gcodeInterpreter.py +++ b/Cura/util/gcodeInterpreter.py @@ -151,7 +151,7 @@ class gcode(object): pos[2] += z * scale moveType = 'move' if e is not None: - if absoluteE: + if absoluteE and posAbs: e -= currentE if e > 0.0: moveType = 'extrude'