Remove redundant data validation copy-pasted into normals loop

meow-7.2.2
Graham Madarasz (Graham) 2013-03-07 15:45:29 -08:00
parent 2e8b2558b4
commit 4b67d34c7e
1 changed files with 0 additions and 5 deletions

View File

@ -238,11 +238,6 @@ LLModel::EModelStatus load_face_from_dom_triangles(std::vector<LLVolumeFace>& fa
{
// guard against model data specifiying out of range indices or norms
//
if (((i + pos_offset) > index_count)
|| ((idx[i+pos_offset]*3+2) > vertex_count))
{
return LLModel::BAD_ELEMENT;
}
if (((i + norm_offset) > index_count)
|| ((idx[i+norm_offset]*3+2) > norm_count))
{