diff options
author | Jaime van Kessel <nallath@gmail.com> | 2019-01-04 16:59:26 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2019-01-04 16:59:26 +0300 |
commit | ffce9bd1723b71c42c0c5d0b34e4f94130cab3c3 (patch) | |
tree | f39a2fc406df5f29861d427bf2cdca6851e5a143 /plugins/CuraEngineBackend/ProcessSlicedLayersJob.py | |
parent | 874646a80eeca78269b5507a3b9715d1f3b57931 (diff) |
Ensure that the primetower gets drawn in the right color again
CURA-5932
Diffstat (limited to 'plugins/CuraEngineBackend/ProcessSlicedLayersJob.py')
-rw-r--r-- | plugins/CuraEngineBackend/ProcessSlicedLayersJob.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/CuraEngineBackend/ProcessSlicedLayersJob.py b/plugins/CuraEngineBackend/ProcessSlicedLayersJob.py index 71c96880e8..3cc23130ea 100644 --- a/plugins/CuraEngineBackend/ProcessSlicedLayersJob.py +++ b/plugins/CuraEngineBackend/ProcessSlicedLayersJob.py @@ -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 |