summaryrefslogtreecommitdiff
path: root/indra/newview/llface.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-04-27 09:12:40 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-04-27 09:12:40 +0100
commitc05cfcae3f8b2f3b8aca7584b2872ee11aeea921 (patch)
tree2e926dea8665bd0cbac09870e8e9ff87db193398 /indra/newview/llface.cpp
parent72a94da05b66d25cd99963a4ea25e49b96431a72 (diff)
parent31a358ac1dd059f62547aa0a0f7b708333045d58 (diff)
merge
Diffstat (limited to 'indra/newview/llface.cpp')
-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];
}