diff options
author | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2013-08-13 19:22:35 +0300 |
---|---|---|
committer | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2013-08-13 19:22:35 +0300 |
commit | 9a117c4b5d4576c8b6863fea156e14e92e13eede (patch) | |
tree | 0fc17451a4e2bb315dc55fd448570515e885bcbe | |
parent | 28339afa157956d6ae4e68d0f8ce4eee6a254cfe (diff) |
MAINT-2861 FIXED llAdjustSoundVolume causes animated textures on same object to reset to first frame
-rwxr-xr-x | indra/newview/llvovolume.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 17efc5482b..5205bc6987 100755 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -334,15 +334,9 @@ U32 LLVOVolume::processUpdateMessage(LLMessageSystem *mesgsys, if (!mTextureAnimp) { mTextureAnimp = new LLViewerTextureAnim(this); + mTexAnimMode = 0; } - else - { - if (!(mTextureAnimp->mMode & LLTextureAnim::SMOOTH)) - { - mTextureAnimp->reset(); - } - } - mTexAnimMode = 0; + mTextureAnimp->unpackTAMessage(mesgsys, block_num); } else |