mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Ensure that the primetower gets drawn in the right color again
CURA-5932
This commit is contained in:
parent
874646a80e
commit
ffce9bd172
6 changed files with 25 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue