Commit df4bce96 authored by Guillaume Seguin's avatar Guillaume Seguin

Fix #506 (potentially)

parent 029b1d2d
...@@ -371,7 +371,8 @@ class GCode(object): ...@@ -371,7 +371,8 @@ class GCode(object):
else: else:
cur_z = line.z cur_z = line.z
cur_layer_has_extrusion |= line.extruding if line.e is not None and line.is_move:
cur_layer_has_extrusion |= line.extruding
# FIXME: the logic behind this code seems to work, but it might be # FIXME: the logic behind this code seems to work, but it might be
# broken # broken
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment