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:
authorJaime van Kessel <nallath@gmail.com>2017-03-07 13:01:03 +0300
committerJaime van Kessel <nallath@gmail.com>2017-03-07 13:01:03 +0300
commit414337dead2b84eac4cd84243ff6f3a997d3d714 (patch)
treeb5fae95be99654d605227607f3c1d57e025f1bf5 /plugins/3MFWriter/ThreeMFWriter.py
parent8a77dd66fc1408dc5c7929fa0b5a2e3f64b73759 (diff)
Fixed 3mf writing
The type hinting changes also changed the way we handle certain imports, which caused saving to fail. CURA-3215
Diffstat (limited to 'plugins/3MFWriter/ThreeMFWriter.py')
-rw-r--r--plugins/3MFWriter/ThreeMFWriter.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/3MFWriter/ThreeMFWriter.py b/plugins/3MFWriter/ThreeMFWriter.py
index 7ce75bf60e..34d47f527b 100644
--- a/plugins/3MFWriter/ThreeMFWriter.py
+++ b/plugins/3MFWriter/ThreeMFWriter.py
@@ -144,8 +144,7 @@ class ThreeMFWriter(MeshWriter):
translation_matrix.setByTranslation(translation_vector)
transformation_matrix.preMultiply(translation_matrix)
-
- root_node = UM.Application.getInstance().getController().getScene().getRoot()
+ root_node = UM.Application.Application.getInstance().getController().getScene().getRoot()
for node in nodes:
if node == root_node:
for root_child in node.getChildren():