Просмотр исходного кода

Complete the renaming of a parameter

This caused layer view to break down.

Probably contributes to issue CURA-1208.
Ghostkeeper 9 лет назад
Родитель
Сommit
511d0be9c3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      cura/LayerData.py

+ 1 - 1
cura/LayerData.py

@@ -177,7 +177,7 @@ class Polygon():
         self._data = data
         self._line_width = line_width / 1000
 
-        self._color = self.__color_map[type]
+        self._color = self.__color_map[polygon_type]
 
     def build(self, offset, vertices, colors, indices):
         self._begin = offset