Added fix for viewing convex decomps in Render Physics Shapes mode when hull has exactly 256 verts.
parent
60f8c82790
commit
b26f7f5a6b
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue