diff options
author | Dave Parks <davep@lindenlab.com> | 2010-04-27 02:53:50 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-04-27 02:53:50 -0500 |
commit | 31a358ac1dd059f62547aa0a0f7b708333045d58 (patch) | |
tree | 94991b715febe4b34f644ba7c16ca9d20906bb32 /indra/newview | |
parent | 53fd70142fb7cdefffb7845b78d1b8f58cb46e09 (diff) |
Fix for crash when logging in next to folks wearing rigged attachments.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 7816418dc2..7866e49bae 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -1365,7 +1365,7 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume, *binormals++ = binormal; } - if (rebuild_weights) + if (rebuild_weights && vf.mWeights.size() > i) { *weights++ = vf.mWeights[i]; } |