Browse Source

remove ASE parsing break added in c1968823adfb8c997f98671becca51fc54614da7 : original intent was to keep parsing (#5634)

crash case (iMaterialCount = 0) is handled by 47dbabadcd683724be26109c757ad86f4645d280
Garux 1 year ago
parent
commit
dd10fb6ee4
1 changed files with 0 additions and 1 deletions
  1. 0 1
      code/AssetLib/ASE/ASEParser.cpp

+ 0 - 1
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