This commit is contained in:
Perfare 2018-04-07 00:10:13 +08:00
parent d5d937247e
commit 4bcbdbc57d

View File

@ -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++)