From df17aab65d923d971cd28ba882ae9e02e4b3b4f3 Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Thu, 6 Jun 2019 22:16:41 -0400 Subject: [PATCH] Try to fix empty mesh list issue. --- .../FileFormats/BFRES/Bfres Structs/SubFiles/FMDL.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Switch_FileFormatsMain/FileFormats/BFRES/Bfres Structs/SubFiles/FMDL.cs b/Switch_FileFormatsMain/FileFormats/BFRES/Bfres Structs/SubFiles/FMDL.cs index a4de3c19..96450d3e 100644 --- a/Switch_FileFormatsMain/FileFormats/BFRES/Bfres Structs/SubFiles/FMDL.cs +++ b/Switch_FileFormatsMain/FileFormats/BFRES/Bfres Structs/SubFiles/FMDL.cs @@ -733,7 +733,7 @@ namespace Bfres.Structs return; 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) {