diff options
author | Dave Parks <davep@lindenlab.com> | 2011-06-22 16:08:23 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-06-22 16:08:23 -0500 |
commit | b0fdc4495153523ff417334499ca466b0d8987c8 (patch) | |
tree | ec88b01d77eea2dd67d136f8bad06697bc391a6c /indra/llprimitive | |
parent | 6629a77cac8b82d3c6f64e7c21f8af116fd4e259 (diff) |
SH-1815 Fix for crash when using old version slm
Diffstat (limited to 'indra/llprimitive')
-rw-r--r-- | indra/llprimitive/llmodel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp index 8f2f24b747..f2fe20b3e7 100644 --- a/indra/llprimitive/llmodel.cpp +++ b/indra/llprimitive/llmodel.cpp @@ -1784,6 +1784,7 @@ bool LLModel::loadModel(std::istream& is) if (header[nm[lod]]["offset"].asInteger() == -1 || header[nm[lod]]["size"].asInteger() == 0 ) { //cannot load requested LOD + llwarns << "LoD data is invalid!" << llendl; return false; } @@ -1844,6 +1845,10 @@ bool LLModel::loadModel(std::istream& is) } return true; } + else + { + llwarns << "unpackVolumeFaces failed!" << llendl; + } return false; |