From 9158857477338bc5134fcd4eb868eac60464f633 Mon Sep 17 00:00:00 2001 From: FiCacador <38703952+FiCacador@users.noreply.github.com> Date: Wed, 9 Oct 2019 01:56:48 +0100 Subject: [PATCH] Reverse Y axis When an AMF file was imported, the Y axis was reversed, creating a mirrored object. This reverses the Y axis so the object is correctly imported. --- plugins/AMFReader/AMFReader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/AMFReader/AMFReader.py b/plugins/AMFReader/AMFReader.py index d35fbe3d40..f997c918c5 100644 --- a/plugins/AMFReader/AMFReader.py +++ b/plugins/AMFReader/AMFReader.py @@ -94,7 +94,7 @@ class AMFReader(MeshReader): if t.tag == "x": v[0] = float(t.text) * scale elif t.tag == "y": - v[2] = float(t.text) * scale + v[2] = - float(t.text) * scale elif t.tag == "z": v[1] = float(t.text) * scale amf_mesh_vertices.append(v)