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:
authorSimon Edwards <s.edwards@ultimaker.com>2017-02-01 16:53:22 +0300
committerSimon Edwards <s.edwards@ultimaker.com>2017-02-01 16:53:22 +0300
commit4715afdad60097b972914724809fd17bea26a5a2 (patch)
tree658a65df6a8c66af065ae46cab5fe8372f6a29a8 /cura/LayerPolygon.py
parenteb43806d7a5497172612b99c4d0b0511d8e53738 (diff)
Fixed one new class variable. Updated the script to run mypy.
Diffstat (limited to 'cura/LayerPolygon.py')
-rw-r--r--cura/LayerPolygon.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/LayerPolygon.py b/cura/LayerPolygon.py
index 70b17cff75..81fe66a80d 100644
--- a/cura/LayerPolygon.py
+++ b/cura/LayerPolygon.py
@@ -1,6 +1,6 @@
from UM.Math.Color import Color
from UM.Application import Application
-
+from typing import Any
import numpy
@@ -173,7 +173,7 @@ class LayerPolygon:
return normals
- __color_map = None
+ __color_map = None # type: numpy.ndarray[Any]
## Gets the instance of the VersionUpgradeManager, or creates one.
@classmethod