summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-02-20 20:06:40 -0600
committerDave Parks <davep@lindenlab.com>2013-02-20 20:06:40 -0600
commit543500c58592e04ba1ef017abd49ef67cab0797e (patch)
treef73237e4cb82ad4d9502eef6c6c2b420f629acb5
parentf67087b87277dc63096fbf4c42cdc17f84d3fbb8 (diff)
MAINT-2390 Fix for texture animation corrupting face repeats on rigged attachments after switching off animation.
-rw-r--r--indra/newview/lldrawpoolavatar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp
index 03641140dc..6d02ad2b96 100644
--- a/indra/newview/lldrawpoolavatar.cpp
+++ b/indra/newview/lldrawpoolavatar.cpp
@@ -1533,7 +1533,7 @@ void LLDrawPoolAvatar::renderRigged(LLVOAvatar* avatar, U32 type, bool glow)
LLDrawPoolBump::bindBumpMap(face, normal_channel);
}
- if (face->mTextureMatrix)
+ if (face->mTextureMatrix && vobj->mTexAnimMode)
{
gGL.matrixMode(LLRender::MM_TEXTURE);
gGL.loadMatrix((F32*) face->mTextureMatrix->mMatrix);