From 0d2aebc1f4d806b750a64ece2c36a5ea104fdb7b Mon Sep 17 00:00:00 2001 From: VaDiM Date: Mon, 22 Jan 2024 16:42:16 +0300 Subject: [PATCH] Fix a bug where UV is exported incorrectly. Co-Authored-By: Razmoth <32140579+razmoth@users.noreply.github.com> --- AssetStudioUtility/ModelConverter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/AssetStudioUtility/ModelConverter.cs b/AssetStudioUtility/ModelConverter.cs index 839b097..6dce124 100644 --- a/AssetStudioUtility/ModelConverter.cs +++ b/AssetStudioUtility/ModelConverter.cs @@ -366,6 +366,7 @@ namespace AssetStudio { if (iMesh.hasUV[uv]) { + c = 4; var m_UV = mesh.GetUV(uv); if (m_UV.Length == mesh.m_VertexCount * 2) {