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>2017-01-03 12:14:34 +0300
committerJack Ha <j.ha@ultimaker.com>2017-01-03 12:14:34 +0300
commite57de296e70d66d978f867dcd79289fb04ff7910 (patch)
tree129f2087eac47063d111bae4a145d03e53547dcb /cura/LayerPolygon.py
parent55dd08eff81cd5e20b5f07c9590dc6679f326d67 (diff)
Readded accidently removed stuff
Diffstat (limited to 'cura/LayerPolygon.py')
-rw-r--r--cura/LayerPolygon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/LayerPolygon.py b/cura/LayerPolygon.py
index 4509ba7d26..959ac9ad84 100644
--- a/cura/LayerPolygon.py
+++ b/cura/LayerPolygon.py
@@ -60,7 +60,7 @@ class LayerPolygon:
# Only if the type of line segment changes do we need to add an extra vertex to change colors
self._build_cache_needed_points[1:, 0][:, numpy.newaxis] = self._types[1:] != self._types[:-1]
# Mark points as unneeded if they are of types we don't want in the line mesh according to the calculated mask
- numpy.logical_and(self._build_cache_needed_points, self._build_cache_line_mesh_mask )
+ numpy.logical_and(self._build_cache_needed_points, self._build_cache_line_mesh_mask, self._build_cache_needed_points )
self._vertex_begin = 0
self._vertex_end = numpy.sum( self._build_cache_needed_points )