mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:38:59 +08:00
Invert the Y axis when sending data to the engine, not Z
Since we just swapped Y and Z it is Y that needs to be inverted, not Z
This commit is contained in:
parent
be168bace0
commit
dcb33be89f
@ -140,7 +140,7 @@ class CuraEngineBackend(Backend):
|
||||
|
||||
verts = numpy.array(mesh_data.getVertices(), copy=True)
|
||||
verts[:,[1,2]] = verts[:,[2,1]]
|
||||
verts[:,[2]] *= -1
|
||||
verts[:,1] *= -1
|
||||
obj.vertices = verts.tostring()
|
||||
|
||||
#if meshData.hasNormals():
|
||||
|
Loading…
x
Reference in New Issue
Block a user