From 4bcbdbc57dab19340d2ff3dd051724aa88258d9a Mon Sep 17 00:00:00 2001 From: Perfare Date: Sat, 7 Apr 2018 00:10:13 +0800 Subject: [PATCH] Fixed #170 --- AssetStudio/AssetStudioForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AssetStudio/AssetStudioForm.cs b/AssetStudio/AssetStudioForm.cs index 86ee423..c057445 100644 --- a/AssetStudio/AssetStudioForm.cs +++ b/AssetStudio/AssetStudioForm.cs @@ -965,7 +965,7 @@ namespace AssetStudio } #endregion #region Colors - if (m_Mesh.m_Colors == null) + if (m_Mesh.m_Colors == null || m_Mesh.m_Colors.Length == 0) { colorData = new Vector4[m_Mesh.m_VertexCount]; for (int c = 0; c < m_Mesh.m_VertexCount; c++)