mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:59:02 +08:00
Merge branch '2.3' of github.com:Ultimaker/Cura into 2.3
This commit is contained in:
commit
8249200121
@ -71,7 +71,7 @@ class ThreeMFReader(MeshReader):
|
|||||||
rotation.setByRotationAxis(-0.5 * math.pi, Vector(1, 0, 0))
|
rotation.setByRotationAxis(-0.5 * math.pi, Vector(1, 0, 0))
|
||||||
|
|
||||||
# TODO: We currently do not check for normals and simply recalculate them.
|
# TODO: We currently do not check for normals and simply recalculate them.
|
||||||
mesh_builder.calculateNormals(flip = True)
|
mesh_builder.calculateNormals()
|
||||||
mesh_builder.setFileName(file_name)
|
mesh_builder.setFileName(file_name)
|
||||||
node.setMeshData(mesh_builder.build().getTransformed(rotation))
|
node.setMeshData(mesh_builder.build().getTransformed(rotation))
|
||||||
node.setSelectable(True)
|
node.setSelectable(True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user