diff options
author | Jaime van Kessel <nallath@gmail.com> | 2017-03-07 13:01:03 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2017-03-07 13:01:03 +0300 |
commit | 414337dead2b84eac4cd84243ff6f3a997d3d714 (patch) | |
tree | b5fae95be99654d605227607f3c1d57e025f1bf5 /plugins/3MFWriter/ThreeMFWriter.py | |
parent | 8a77dd66fc1408dc5c7929fa0b5a2e3f64b73759 (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.py | 3 |
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(): |