Add style to a variable in X3Reader

This commit is contained in:
Diego Prado Gesto 2018-07-05 14:41:17 +02:00
parent c738f306fb
commit 8afc49e902

View file

@ -2,6 +2,7 @@
# Cura is released under the terms of the LGPLv3 or higher. # Cura is released under the terms of the LGPLv3 or higher.
from math import pi, sin, cos, sqrt from math import pi, sin, cos, sqrt
from typing import Dict
import numpy import numpy
@ -42,7 +43,7 @@ class X3DReader(MeshReader):
def __init__(self) -> None: def __init__(self) -> None:
super().__init__() super().__init__()
self._supported_extensions = [".x3d"] self._supported_extensions = [".x3d"]
self._namespaces = {} self._namespaces = {} # type: Dict[str, str]
# Main entry point # Main entry point
# Reads the file, returns a SceneNode (possibly with nested ones), or None # Reads the file, returns a SceneNode (possibly with nested ones), or None