mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Revert "Fix certain 3mf models not restoring properly"
This reverts commit 7e38927a8c
.
This commit is contained in:
parent
7e38927a8c
commit
dc66732150
1 changed files with 1 additions and 2 deletions
|
@ -233,8 +233,7 @@ class ThreeMFReader(MeshReader):
|
|||
if mesh_data is not None:
|
||||
extents = mesh_data.getExtents()
|
||||
if extents is not None:
|
||||
# We use a different coordinate space, so flip Z and Y
|
||||
center_vector = Vector(extents.center.x, extents.center.z, extents.center.y)
|
||||
center_vector = Vector(extents.center.x, extents.center.y, extents.center.z)
|
||||
transform_matrix.setByTranslation(center_vector)
|
||||
transform_matrix.multiply(um_node.getLocalTransformation())
|
||||
um_node.setTransformation(transform_matrix)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue