diff options
author | Victor Larchenko <victor99992@gmail.com> | 2016-12-09 12:26:37 +0300 |
---|---|---|
committer | Youness Alaoui <kakaroto@kakaroto.homelinux.net> | 2016-12-23 23:53:16 +0300 |
commit | 620a3891da3da7f9dd6007236ae2ea5eb5833156 (patch) | |
tree | 42777a6233669194714c6c2ed8daa4f6b4ddd768 /plugins/X3DReader | |
parent | 3605403314ff68dab3d8535b3ee659de87f21df6 (diff) |
D6: Moved decorator to cura
Diffstat (limited to 'plugins/X3DReader')
-rw-r--r-- | plugins/X3DReader/X3DReader.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/plugins/X3DReader/X3DReader.py b/plugins/X3DReader/X3DReader.py index 16b8a6a5ae..0a81e98d0d 100644 --- a/plugins/X3DReader/X3DReader.py +++ b/plugins/X3DReader/X3DReader.py @@ -1,16 +1,17 @@ # Contributed by Seva Alekseyev <sevaa@nih.gov> with National Institutes of Health, 2016 # Cura is released under the terms of the AGPLv3 or higher. -from UM.Mesh.MeshReader import MeshReader -from UM.Mesh.MeshBuilder import MeshBuilder +from math import pi, sin, cos, sqrt + +import numpy + +from UM.Job import Job from UM.Logger import Logger from UM.Math.Matrix import Matrix from UM.Math.Vector import Vector +from UM.Mesh.MeshBuilder import MeshBuilder +from UM.Mesh.MeshReader import MeshReader from UM.Scene.SceneNode import SceneNode -from UM.Job import Job -from math import pi, sin, cos, sqrt -import numpy -from UM.Scene.SliceableObjectDecorator import SliceableObjectDecorator try: import xml.etree.cElementTree as ET @@ -97,8 +98,6 @@ class X3DReader(MeshReader): Logger.logException("e", "Exception in X3D reader") return None - sliceable_decorator = SliceableObjectDecorator() - node.addDecorator(sliceable_decorator) return node # ------------------------- XML tree traversal |