diff options
| author | Aura Linden <aura@lindenlab.com> | 2014-09-18 17:00:23 -0700 |
|---|---|---|
| committer | Aura Linden <aura@lindenlab.com> | 2014-09-18 17:00:23 -0700 |
| commit | 951c83724d7e364ac52cbee2d657711fda7d2c26 (patch) | |
| tree | 20b95debd0a3bb52f32df0db52d6dc91caf5793f /indra/llprimitive | |
| parent | 78304e398fa7d4604eac98247173b33d712ec135 (diff) | |
| parent | 61fb8c3fe31c73ce9121daac545aa7c8fc79ec8c (diff) | |
Merged in viewer-tiger
Diffstat (limited to 'indra/llprimitive')
| -rwxr-xr-x | indra/llprimitive/llmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp index 57a698b98f..b4963225dc 100755 --- a/indra/llprimitive/llmodel.cpp +++ b/indra/llprimitive/llmodel.cpp @@ -191,7 +191,7 @@ LLModel::EModelStatus load_face_from_dom_triangles(std::vector<LLVolumeFace>& fa U32 tc_count = tc_source ? tc.getCount() : 0; U32 norm_count = norm_source ? n.getCount() : 0; - if (vertex_count == 0) + if ((vertex_count == 0) || (tc_count == 0)) { llwarns << "Unable to process mesh with empty position array; invalid model." << llendl; return LLModel::BAD_ELEMENT; |
