From fc6eed84a044020a7ebf9923f4e0f3a483479847 Mon Sep 17 00:00:00 2001 From: Razmoth <32140579+Razmoth@users.noreply.github.com> Date: Fri, 19 Jan 2024 21:57:18 +0400 Subject: [PATCH] - [Core] Fix a bug where UV is exported incorrectly. --- AssetStudio.Utility/ModelConverter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/AssetStudio.Utility/ModelConverter.cs b/AssetStudio.Utility/ModelConverter.cs index f9d820c..6700aed 100644 --- a/AssetStudio.Utility/ModelConverter.cs +++ b/AssetStudio.Utility/ModelConverter.cs @@ -381,6 +381,7 @@ namespace AssetStudio { if (iMesh.hasUV[uv]) { + c = 4; var m_UV = mesh.GetUV(uv); if (m_UV.Length == mesh.m_VertexCount * 2) {