Browse Source

Add style to a variable in X3Reader

Diego Prado Gesto 6 years ago
parent
commit
8afc49e902
1 changed files with 2 additions and 1 deletions
  1. 2 1
      plugins/X3DReader/X3DReader.py

+ 2 - 1
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