mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-07-20 19:44:16 -04:00
Fixed #170
This commit is contained in:
@ -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++)
|
||||
|
Reference in New Issue
Block a user