mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 21:36:03 +08: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
@ -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…
x
Reference in New Issue
Block a user