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 16:31:53 +0300
committerJack Ha <j.ha@ultimaker.com>2016-12-30 16:31:53 +0300
commitfc4c60b0dcfe8198831915ebf2d1de2dda653dfb (patch)
tree7703c044c6756ba579c967cb00b5c1a4d0013641 /cura/Layer.py
parent1217281727d9496a7c31b1f36872eec88e91bbdd (diff)
Added layer view options
Diffstat (limited to 'cura/Layer.py')
-rw-r--r--cura/Layer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/Layer.py b/cura/Layer.py
index 8d35e9c6b2..869b84ed90 100644
--- a/cura/Layer.py
+++ b/cura/Layer.py
@@ -49,12 +49,12 @@ class Layer:
return result
- def build(self, vertex_offset, index_offset, vertices, colors, line_dimensions, extruders, indices):
+ def build(self, vertex_offset, index_offset, vertices, colors, line_dimensions, extruders, line_types, indices):
result_vertex_offset = vertex_offset
result_index_offset = index_offset
self._element_count = 0
for polygon in self._polygons:
- polygon.build(result_vertex_offset, result_index_offset, vertices, colors, line_dimensions, extruders, indices)
+ polygon.build(result_vertex_offset, result_index_offset, vertices, colors, line_dimensions, extruders, line_types, indices)
result_vertex_offset += polygon.lineMeshVertexCount()
result_index_offset += polygon.lineMeshElementCount()
self._element_count += polygon.elementCount