From dd10fb6ee4194083dc2f20eb40fbda3c4c5d987d Mon Sep 17 00:00:00 2001 From: Garux Date: Tue, 25 Jun 2024 00:23:59 +0500 Subject: [PATCH] remove ASE parsing break added in c1968823adfb8c997f98671becca51fc54614da7 : original intent was to keep parsing (#5634) crash case (iMaterialCount = 0) is handled by 47dbabadcd683724be26109c757ad86f4645d280 --- code/AssetLib/ASE/ASEParser.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/code/AssetLib/ASE/ASEParser.cpp b/code/AssetLib/ASE/ASEParser.cpp index 7efab0da3..c071ae900 100644 --- a/code/AssetLib/ASE/ASEParser.cpp +++ b/code/AssetLib/ASE/ASEParser.cpp @@ -513,7 +513,6 @@ void Parser::ParseLV1MaterialListBlock() { if (iIndex >= iMaterialCount) { LogWarning("Out of range: material index is too large"); iIndex = iMaterialCount - 1; - return; } // get a reference to the material