summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-04-27 02:53:50 -0500
committerDave Parks <davep@lindenlab.com>2010-04-27 02:53:50 -0500
commit31a358ac1dd059f62547aa0a0f7b708333045d58 (patch)
tree94991b715febe4b34f644ba7c16ca9d20906bb32
parent53fd70142fb7cdefffb7845b78d1b8f58cb46e09 (diff)
Fix for crash when logging in next to folks wearing rigged attachments.
-rw-r--r--indra/newview/llface.cpp2
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];
}