diff --git a/utils/exporters/blender/addons/io_three/exporter/api/mesh.py b/utils/exporters/blender/addons/io_three/exporter/api/mesh.py index 5350d4dc5fce249a510037d09d24e3eedbab673c..3ca7156254387b67931445d3b1ad92b0cbfb5d38 100644 --- a/utils/exporters/blender/addons/io_three/exporter/api/mesh.py +++ b/utils/exporters/blender/addons/io_three/exporter/api/mesh.py @@ -148,7 +148,7 @@ def buffer_position(mesh): for vertex_index in face.vertices: vertex = mesh.vertices[vertex_index] - vector = (vertex.co.x, vertex.co.y, vertex.co.z) + vector = (vertex.co.x, vertex.co.z, -vertex.co.y) position.extend(vector) return position @@ -763,7 +763,7 @@ def vertices(mesh): vertices_ = [] for vertex in mesh.vertices: - vertices_.extend((vertex.co.x, vertex.co.y, vertex.co.z)) + vertices_.extend((vertex.co.x, vertex.co.z, -vertex.co.y)) return vertices_