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

crash case (iMaterialCount = 0) is handled by 47dbabadcd
pull/5638/head
Garux 2024-06-25 00:23:59 +05:00 committed by GitHub
parent adff2f388a
commit dd10fb6ee4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

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