When reading from a folder or even a single file with all model formats being scanned for, Croc models will end up polluting the results, often with multiple models in the same file at different offsets. This is because the countFaces number can be zero and reading the model will still succeed (resulting in a model with no triangles). Other checks already exist to make sure the model isn't empty, such as comparing countVerts.
When countFaces is 0, null will be returned, like with other checks.
When reading from a folder or even a single file with all model formats being scanned for, Croc models will end up polluting the results, often with multiple models in the same file at different offsets. This is because the
countFaces
number can be zero and reading the model will still succeed (resulting in a model with no triangles). Other checks already exist to make sure the model isn't empty, such as comparingcountVerts
.When
countFaces
is 0,null
will be returned, like with other checks.