improved mesh read

This commit is contained in:
Perfare
2018-12-23 23:17:01 +08:00
parent f449d7a8ab
commit ff550b457f
3 changed files with 71 additions and 48 deletions

View File

@ -407,7 +407,7 @@ namespace AssetStudio
}
//Morphs
if (mesh.m_Shapes != null)
if (mesh.m_Shapes?.channels != null)
{
foreach (var channel in mesh.m_Shapes.channels)
{