Backing out latest change to undo static cache file changes

meow-7.2.2
Jonathan Wolk 2010-10-26 11:11:20 -07:00
parent e4a5d16be1
commit 0a8d43e844
3 changed files with 3 additions and 1 deletions

View File

@ -1449,7 +1449,9 @@ LLSD LLModel::writeModel(
{
U32 size = decomp[i].size();
total += size;
hulls[i] = (U8) size;
// The valid range of sizes is actually 3-256 verts. We need this to fit into a U8,
// So we just subtract 1
hulls[i] = (U8) (size - 1);
for (U32 j = 0; j < decomp[i].size(); ++j)
{