Permalink
Browse files

Wokaround for viewer crasher. Related to rigged mesh.

  • Loading branch information...
1 parent f77df0a commit 4b318d072a6ff833bbd00a3f00f7a0e52de38cb9 @Shyotl Shyotl committed Aug 9, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 indra/newview/lldrawpoolavatar.cpp
@@ -1654,7 +1654,7 @@ void LLDrawPoolAvatar::renderRigged(LLVOAvatar* avatar, U32 type, bool glow)
if (face->mTextureMatrix && vobj->mTexAnimMode)
{
- gGL.matrixMode(LLRender::MM_TEXTURE);
+ gGL.matrixMode(LLRender::MM_TEXTURE0 + sDiffuseChannel);
gGL.loadMatrix(*face->mTextureMatrix);
buff->setBuffer(data_mask);
buff->drawRange(LLRender::TRIANGLES, start, end, count, offset);

0 comments on commit 4b318d0

Please sign in to comment.