diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-11-27 22:36:28 +0200 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-11-27 22:36:28 +0200 |
commit | 216fe3d47f14709df5f3477b6ae12def214488d6 (patch) | |
tree | 5b8f0a66debc4b9b572486885aa0e5cad3fd6a39 /indra/llmath | |
parent | fed4d3391cf704fb080cf95e15cd992351ba0575 (diff) | |
parent | d3f389a38c8c5a2e394ad5f4ee44128e0e2b2dd3 (diff) |
Merged in pe_devs/494-wassail
Diffstat (limited to 'indra/llmath')
-rw-r--r-- | indra/llmath/llvolume.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index e7a8ca2f9d..49a186bc87 100644 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -2419,7 +2419,7 @@ bool LLVolume::unpackVolumeFaces(std::istream& is, S32 size) if (idx.empty() || face.mNumIndices < 3) { //why is there an empty index list? - LL_WARNS() <<"Empty face present!" << LL_ENDL; + LL_WARNS() << "Empty face present! Face index: " << i << " Total: " << face_count << LL_ENDL; continue; } @@ -5236,7 +5236,7 @@ bool LLVolumeFace::cacheOptimize() LLVCacheLRU cache; - if (mNumVertices < 3) + if (mNumVertices < 3 || mNumIndices < 3) { //nothing to do return true; } |