Fix logspam in layerpolygon

This commit is contained in:
Jaime van Kessel 2022-09-07 09:55:19 +02:00
parent b446730d9b
commit a8f0e330ad
No known key found for this signature in database
GPG Key ID: C85F7A3AF1BAA7C4

View File

@ -42,7 +42,7 @@ class LayerPolygon:
self._extruder = extruder self._extruder = extruder
self._types = line_types self._types = line_types
unknown_types = numpy.where(self._types >= self.__number_of_types) unknown_types = numpy.where(self._types >= self.__number_of_types, self._types)
if unknown_types: if unknown_types:
# Got faulty line data from the engine. # Got faulty line data from the engine.
for idx in unknown_types: for idx in unknown_types: