diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2018-01-08 21:29:59 +0200 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2018-01-08 21:29:59 +0200 |
commit | 472decad98ef8da6a7e3b992c193fdb0c93f9878 (patch) | |
tree | 2d959de692c0d1e285677e6bbf1e40d66daf9d7d /indra/llmath | |
parent | 7d156389e46cfb3c0bb135e1b3eb873b24beaebe (diff) | |
parent | e358ef21c089dfcc0df5c42627bc2c89731cfa53 (diff) |
Merged in lindenlab/viewer-bear
Diffstat (limited to 'indra/llmath')
-rw-r--r-- | indra/llmath/llvolume.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index 5068c9c685..b1be29f594 100644 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -2367,9 +2367,10 @@ bool LLVolume::unpackVolumeFaces(std::istream& is, S32 size) //input stream is now pointing at a zlib compressed block of LLSD //decompress block LLSD mdl; - if (!unzip_llsd(mdl, is, size)) + U32 uzip_result = LLUZipHelper::unzip_llsd(mdl, is, size); + if (uzip_result != LLUZipHelper::ZR_OK) { - LL_DEBUGS("MeshStreaming") << "Failed to unzip LLSD blob for LoD, will probably fetch from sim again." << LL_ENDL; + LL_DEBUGS("MeshStreaming") << "Failed to unzip LLSD blob for LoD with code " << uzip_result << " , will probably fetch from sim again." << LL_ENDL; return false; } |