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:
authorDiego Prado Gesto <d.pradogesto@ultimaker.com>2018-07-05 15:41:17 +0300
committerDiego Prado Gesto <d.pradogesto@ultimaker.com>2018-07-05 15:41:49 +0300
commit8afc49e902511b5c5c80cac1f2248fbd967e3fb5 (patch)
tree1f7751e7f2d9ff67ac05fe951f0f07a8fc55cddc /plugins/X3DReader
parentc738f306fb25ff8cbef1d817ca46c9e544c122f2 (diff)
Add style to a variable in X3Reader
Diffstat (limited to 'plugins/X3DReader')
-rw-r--r--plugins/X3DReader/X3DReader.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/X3DReader/X3DReader.py b/plugins/X3DReader/X3DReader.py
index 44a2f1443a..da0502a7ec 100644
--- a/plugins/X3DReader/X3DReader.py
+++ b/plugins/X3DReader/X3DReader.py
@@ -2,6 +2,7 @@
# Cura is released under the terms of the LGPLv3 or higher.
from math import pi, sin, cos, sqrt
+from typing import Dict
import numpy
@@ -42,7 +43,7 @@ class X3DReader(MeshReader):
def __init__(self) -> None:
super().__init__()
self._supported_extensions = [".x3d"]
- self._namespaces = {}
+ self._namespaces = {} # type: Dict[str, str]
# Main entry point
# Reads the file, returns a SceneNode (possibly with nested ones), or None