chiark / gitweb /
Fix G90/G91 interpretation regarding relative e
authorMartin Wickham <spexguy070@gmail.com>
Thu, 15 Jan 2015 07:59:20 +0000 (01:59 -0600)
committerMartin Wickham <spexguy070@gmail.com>
Thu, 15 Jan 2015 07:59:20 +0000 (01:59 -0600)
Cura/util/gcodeInterpreter.py

index 1c8532c99e73c16722eb3e35f6be760e227d8e0f..00353148f833f6643eb090d7550354b35863af2c 100644 (file)
@@ -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'