mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
Fixed #170
This commit is contained in:
parent
d5d937247e
commit
4bcbdbc57d
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user