Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/model/asefile.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/model/asefile.cc b/src/model/asefile.cc
index f4f3342..22fcd78 100644
--- a/src/model/asefile.cc
+++ b/src/model/asefile.cc
@@ -271,11 +271,11 @@ size_t count = 0;
math::Vector3f *t2 = ase_tvertexlist[c];
if (triangle) {
if (t0)
- triangle->t0().assign(t0->x, t0->y);
+ triangle->t0().assign(t0->x, 1.0f - t0->y);
if (t1)
- triangle->t1().assign(t1->x, t1->y);
+ triangle->t1().assign(t1->x, 1.0f - t1->y);
if (t2)
- triangle->t2().assign(t2->x, t2->y);
+ triangle->t2().assign(t2->x, 1.0f - t2->y);
}
count++;
}