summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-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];
}