diff options
Diffstat (limited to 'indra')
-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 17b101e410..757497060a 100644 --- a/indra/newview/llmeshrepository.cpp +++ b/indra/newview/llmeshrepository.cpp @@ -1087,7 +1087,7 @@ bool LLMeshRepoThread::decompositionReceived(const LLUUID& mesh_id, U8* data, S3 for (U32 i = 0; i < hulls.size(); ++i) { - U8 count = hulls[i]; + U16 count = (hulls[i] == 0) ? 256 : hulls[i]; for (U32 j = 0; j < count; ++j) { |