diff --git a/cura/LayerDataBuilder.py b/cura/LayerDataBuilder.py index 6760098667..39eced5ac6 100755 --- a/cura/LayerDataBuilder.py +++ b/cura/LayerDataBuilder.py @@ -63,7 +63,7 @@ class LayerDataBuilder(MeshBuilder): feedrates = numpy.empty((vertex_count), numpy.float32) extruders = numpy.empty((vertex_count), numpy.float32) line_types = numpy.empty((vertex_count), numpy.float32) - vertex_indices = numpy.arange(0, vertex_count, 1, dtype=numpy.float32) + vertex_indices = numpy.arange(0, vertex_count, 1, dtype = numpy.float32) vertex_offset = 0 index_offset = 0 diff --git a/cura/LayerPolygon.py b/cura/LayerPolygon.py index ddb3a86289..fe85be4a94 100644 --- a/cura/LayerPolygon.py +++ b/cura/LayerPolygon.py @@ -61,7 +61,7 @@ class LayerPolygon: for i in range(0, len(self._cumulative_type_change_counts)): if last_type != self.types[i]: current_type_count += 1 - last_type = self.types[i] + last_type = self.types[i] self._cumulative_type_change_counts[i] = current_type_count self._mesh_line_count = len(self._types) - self._jump_count self._vertex_count = self._mesh_line_count + numpy.sum(self._types[1:] == self._types[:-1])