crash case (iMaterialCount = 0) is handled by 47dbabadcd683724be26109c757ad86f4645d280
@@ -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