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

crash case (iMaterialCount = 0) is handled by 47dbabadcd
This commit is contained in:
Garux
2024-06-25 00:23:59 +05:00
committed by GitHub
parent adff2f388a
commit dd10fb6ee4

View File

@@ -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