diff options
author | andreykproductengine <none@none> | 2016-07-25 23:43:37 +0300 |
---|---|---|
committer | andreykproductengine <none@none> | 2016-07-25 23:43:37 +0300 |
commit | 1b1f4252e3a243fcdc0906ada0c124dfe7b864bf (patch) | |
tree | 27b30849c3de6bc8b3f633fa1d57fb1a49f721f3 | |
parent | 0db98a6308a0a70e2e2338c327468f1e717f0dec (diff) |
MAINT-6460 Crash calculating mesh complexity
-rw-r--r-- | indra/newview/llmeshrepository.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp index a0e57677c3..18634de500 100644 --- a/indra/newview/llmeshrepository.cpp +++ b/indra/newview/llmeshrepository.cpp @@ -3934,7 +3934,7 @@ const LLSD* LLMeshRepoThread::getMeshHeader(const LLUUID& mesh_id) { LLMutexLock lock(mHeaderMutex); mesh_header_map::iterator iter = mMeshHeader.find(mesh_id); - if (iter != mMeshHeader.end()) + if (iter != mMeshHeader.end() && mMeshHeaderSize[mesh_id] > 0) { return &(iter->second); } |