diff options
author | Graham Madarasz (Graham) <graham@lindenlab.com> | 2013-03-07 15:45:29 -0800 |
---|---|---|
committer | Graham Madarasz (Graham) <graham@lindenlab.com> | 2013-03-07 15:45:29 -0800 |
commit | 4b67d34c7e31e7dcc8185061e4a0b02c5da6560a (patch) | |
tree | eb3ccc8df4c35f68ce2750c658e9b04083266eaf | |
parent | 2e8b2558b4b86b97dafec539792d14b66b2724d1 (diff) |
Remove redundant data validation copy-pasted into normals loop
-rw-r--r-- | indra/llprimitive/llmodel.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp index 4ef4744981..ef6eb75a6b 100644 --- a/indra/llprimitive/llmodel.cpp +++ b/indra/llprimitive/llmodel.cpp @@ -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)) { |