From 5aca73d1bcf77483f73ff74e3db87a2dd750c87f Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Wed, 11 Dec 2019 20:18:51 -0500 Subject: [PATCH] GFBMDL : Disable automatic transforms for now --- .../FileFormats/Pokemon/GFLX/GFBMDL/GFBMDL.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/File_Format_Library/FileFormats/Pokemon/GFLX/GFBMDL/GFBMDL.cs b/File_Format_Library/FileFormats/Pokemon/GFLX/GFBMDL/GFBMDL.cs index 4e505dd4..071980cf 100644 --- a/File_Format_Library/FileFormats/Pokemon/GFLX/GFBMDL/GFBMDL.cs +++ b/File_Format_Library/FileFormats/Pokemon/GFLX/GFBMDL/GFBMDL.cs @@ -648,9 +648,13 @@ namespace FirstPlugin if (diffuse != null) transform = diffuse.Transform; - mesh.vertices[faces[v]].uv0 += transform.Translate * transform.Scale; - mesh.vertices[faces[v + 1]].uv0 += transform.Translate * transform.Scale; - mesh.vertices[faces[v + 2]].uv0 += transform.Translate * transform.Scale; + /* mesh.vertices[faces[v]].uv0 *= transform.Scale; + mesh.vertices[faces[v + 1]].uv0 *= transform.Scale; + mesh.vertices[faces[v + 2]].uv0 *= transform.Scale; + + mesh.vertices[faces[v]].uv0 += transform.Translate; + mesh.vertices[faces[v + 1]].uv0 += transform.Translate; + mesh.vertices[faces[v + 2]].uv0 += transform.Translate;*/ } } }