diff options
author | Matthew Breindel (Falcon) <falcon@lindenlab.com> | 2010-09-30 13:35:43 -0700 |
---|---|---|
committer | Matthew Breindel (Falcon) <falcon@lindenlab.com> | 2010-09-30 13:35:43 -0700 |
commit | b26f7f5a6bfadde1f556f4b3aec62176ed514b83 (patch) | |
tree | 7e996522030084bd48c8a6ec973b376845744d05 /indra/newview | |
parent | 60f8c8279071b791fbc7179d8bc2bb9ca4880a03 (diff) |
Added fix for viewing convex decomps in Render Physics Shapes mode when hull has exactly 256 verts.
Diffstat (limited to 'indra/newview')
-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) { |