diff options
author | Jack Ha <j.ha@ultimaker.com> | 2016-12-30 17:32:06 +0300 |
---|---|---|
committer | Jack Ha <j.ha@ultimaker.com> | 2016-12-30 17:32:06 +0300 |
commit | 6271774528688a5fb0af46a39eefd4586a238136 (patch) | |
tree | cc1dca2a05921777b916617f82ec3d63b5010c28 /cura/LayerDataBuilder.py | |
parent | fc4c60b0dcfe8198831915ebf2d1de2dda653dfb (diff) |
Added all kinds of options to layer view
Diffstat (limited to 'cura/LayerDataBuilder.py')
-rw-r--r-- | cura/LayerDataBuilder.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/LayerDataBuilder.py b/cura/LayerDataBuilder.py index 6750b60d53..72dac319cd 100644 --- a/cura/LayerDataBuilder.py +++ b/cura/LayerDataBuilder.py @@ -76,8 +76,8 @@ class LayerDataBuilder(MeshBuilder): material_colors = numpy.zeros((line_dimensions.shape[0], 4), dtype=numpy.float32) for extruder_nr in range(material_color_map.shape[0]): material_colors[extruders == extruder_nr] = material_color_map[extruder_nr] - material_colors[line_types == LayerPolygon.MoveCombingType] = [0.0, 0.0, 0.8, 1.0] - material_colors[line_types == LayerPolygon.MoveRetractionType] = [0.0, 0.0, 0.8, 1.0] + material_colors[line_types == LayerPolygon.MoveCombingType] = colors[line_types == LayerPolygon.MoveCombingType] + material_colors[line_types == LayerPolygon.MoveRetractionType] = colors[line_types == LayerPolygon.MoveRetractionType] attributes = { "line_dimensions": { |