diff options
author | Jack Ha <j.ha@ultimaker.com> | 2016-12-30 16:31:53 +0300 |
---|---|---|
committer | Jack Ha <j.ha@ultimaker.com> | 2016-12-30 16:31:53 +0300 |
commit | fc4c60b0dcfe8198831915ebf2d1de2dda653dfb (patch) | |
tree | 7703c044c6756ba579c967cb00b5c1a4d0013641 /cura/Layer.py | |
parent | 1217281727d9496a7c31b1f36872eec88e91bbdd (diff) |
Added layer view options
Diffstat (limited to 'cura/Layer.py')
-rw-r--r-- | cura/Layer.py | 4 |
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 |