Merge branch 'AxTheB-devel' into devel
commit
63888f5e2e
|
@ -159,8 +159,11 @@ class gcode(object):
|
||||||
moveType = 'extrude'
|
moveType = 'extrude'
|
||||||
if e < 0:
|
if e < 0:
|
||||||
moveType = 'retract'
|
moveType = 'retract'
|
||||||
|
if posAbsExtruder:
|
||||||
totalExtrusion += e - currentE
|
totalExtrusion += e - currentE
|
||||||
currentE = e
|
currentE = e
|
||||||
|
else:
|
||||||
|
totalExtrusion += e
|
||||||
if totalExtrusion > maxExtrusion:
|
if totalExtrusion > maxExtrusion:
|
||||||
maxExtrusion = totalExtrusion
|
maxExtrusion = totalExtrusion
|
||||||
if moveType == 'move' and oldPos.z != pos.z:
|
if moveType == 'move' and oldPos.z != pos.z:
|
||||||
|
|
Loading…
Reference in New Issue