Ensure that the primetower gets drawn in the right color again

CURA-5932
This commit is contained in:
Jaime van Kessel 2019-01-04 14:59:26 +01:00
parent 874646a80e
commit ffce9bd172
6 changed files with 25 additions and 11 deletions

View file

@ -137,6 +137,7 @@ class ProcessSlicedLayersJob(Job):
extruder = polygon.extruder
line_types = numpy.fromstring(polygon.line_type, dtype="u1") # Convert bytearray to numpy array
line_types = line_types.reshape((-1,1))
points = numpy.fromstring(polygon.points, dtype="f4") # Convert bytearray to numpy array