Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Ha <j.ha@ultimaker.com>2016-12-30 17:32:06 +0300
committerJack Ha <j.ha@ultimaker.com>2016-12-30 17:32:06 +0300
commit6271774528688a5fb0af46a39eefd4586a238136 (patch)
treecc1dca2a05921777b916617f82ec3d63b5010c28 /cura/LayerPolygon.py
parentfc4c60b0dcfe8198831915ebf2d1de2dda653dfb (diff)
Added all kinds of options to layer view
Diffstat (limited to 'cura/LayerPolygon.py')
-rw-r--r--cura/LayerPolygon.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/cura/LayerPolygon.py b/cura/LayerPolygon.py
index f7acc62286..4509ba7d26 100644
--- a/cura/LayerPolygon.py
+++ b/cura/LayerPolygon.py
@@ -88,7 +88,6 @@ class LayerPolygon:
# Create an array with colors for each vertex and remove the color data for the points that has been thrown away.
colors[self._vertex_begin:self._vertex_end, :] = numpy.tile(self._colors, (1, 2)).reshape((-1, 4))[needed_points_list.ravel()]
- colors[self._vertex_begin:self._vertex_end, :] *= numpy.array([[0.5, 0.5, 0.5, 1.0]], numpy.float32)
# Create an array with line widths for each vertex.
line_dimensions[self._vertex_begin:self._vertex_end, 0] = numpy.tile(self._line_widths, (1, 2)).reshape((-1, 1))[needed_points_list.ravel()][:, 0]