1
0
mirror of synced 2024-12-04 20:08:00 +01:00

Try to fix empty mesh list issue.

This commit is contained in:
KillzXGaming 2019-06-06 22:16:41 -04:00 committed by GitHub
parent 419164c855
commit df17aab65d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -733,7 +733,7 @@ namespace Bfres.Structs
return; return;
string[] shapeSortCheck = shapes.Select(o => o.Text).ToArray(); string[] shapeSortCheck = shapes.Select(o => o.Text).ToArray();
assimp.objects = assimp.objects.SortBy(shapeSortCheck, c => c.ObjectName).ToList(); // assimp.objects = assimp.objects.SortBy(shapeSortCheck, c => c.ObjectName).ToList();
if (assimp.objects.Count == 0) if (assimp.objects.Count == 0)
{ {