diff options
author | Dave Parks <davep@lindenlab.com> | 2012-07-25 14:46:23 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-07-25 14:46:23 -0500 |
commit | 49879c254cfc58b34a003d34be102c3e51eb0037 (patch) | |
tree | cad1e6d246bbfbd5024e7f44584d17404e1eef8e /indra/newview/lldrawpoolavatar.cpp | |
parent | 93b2e05c2f8380408df39ad4e1ed4248b623d3b9 (diff) |
MAINT-615 Fix for texture animation freezing under certain situations.
Diffstat (limited to 'indra/newview/lldrawpoolavatar.cpp')
-rw-r--r-- | indra/newview/lldrawpoolavatar.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp index 730ad1a364..59161d063e 100644 --- a/indra/newview/lldrawpoolavatar.cpp +++ b/indra/newview/lldrawpoolavatar.cpp @@ -1272,6 +1272,9 @@ void LLDrawPoolAvatar::updateRiggedFaceVertexBuffer(LLVOAvatar* avatar, LLFace* face->setGeomIndex(0); face->setIndicesIndex(0); + //rigged faces do not batch textures + face->setTextureIndex(255); + if (buffer.isNull() || buffer->getTypeMask() != data_mask || !buffer->isWriteable()) { //make a new buffer if (sShaderLevel > 0) |