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:
Arjen Hiemstra 2015-04-23 14:03:39 +02:00
parent be168bace0
commit dcb33be89f

View file

@ -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():