mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 07:03:12 +08:00
D5: Fixed dual extrusion colors
This commit is contained in:
parent
a795323e5f
commit
002b3139e6
@ -107,10 +107,7 @@ 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]
|
||||
line_types[i - 1] = point[3]
|
||||
i += 1
|
||||
|
||||
this_poly = LayerPolygon(layer_data, extruder, line_types, points, line_widths)
|
||||
|
Loading…
x
Reference in New Issue
Block a user