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
parent
adff2f388a
commit
dd10fb6ee4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue