diff options
author | FiCacador <38703952+FiCacador@users.noreply.github.com> | 2019-10-09 03:56:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-09 03:56:48 +0300 |
commit | 9158857477338bc5134fcd4eb868eac60464f633 (patch) | |
tree | 787e104c61c95ce0394f153f76ddc0c142f77289 /plugins/AMFReader | |
parent | cadc145008e5011f4dccf8e05f768773c52bd078 (diff) |
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.
Diffstat (limited to 'plugins/AMFReader')
-rw-r--r-- | plugins/AMFReader/AMFReader.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |