mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Fixed 3mf writing
The type hinting changes also changed the way we handle certain imports, which caused saving to fail. CURA-3215
This commit is contained in:
parent
8a77dd66fc
commit
414337dead
1 changed files with 1 additions and 2 deletions
|
@ -144,8 +144,7 @@ class ThreeMFWriter(MeshWriter):
|
||||||
translation_matrix.setByTranslation(translation_vector)
|
translation_matrix.setByTranslation(translation_vector)
|
||||||
transformation_matrix.preMultiply(translation_matrix)
|
transformation_matrix.preMultiply(translation_matrix)
|
||||||
|
|
||||||
|
root_node = UM.Application.Application.getInstance().getController().getScene().getRoot()
|
||||||
root_node = UM.Application.getInstance().getController().getScene().getRoot()
|
|
||||||
for node in nodes:
|
for node in nodes:
|
||||||
if node == root_node:
|
if node == root_node:
|
||||||
for root_child in node.getChildren():
|
for root_child in node.getChildren():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue