D5: Fixed dual extrusion colors

This commit is contained in:
Victor Larchenko 2016-11-24 14:31:48 +06:00 committed by Youness Alaoui
parent a795323e5f
commit 002b3139e6

View file

@ -107,9 +107,6 @@ class GCodeReader(MeshReader):
points[i, 1] = point[2]
points[i, 2] = -point[1]
if i > 0:
if point[3] == LayerPolygon.Inset0Type:
line_types[i - 1] = extruder + 1
else:
line_types[i - 1] = point[3]
i += 1