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 | 7b3e01709642856cebfae92397933cf7d31ce361 (patch) | |
tree | cdd50f9beb4de2aa1415880cd63db94b8f81b3fa | |
parent | 6b9972be57bcab78920726e81700a5a8d8bd456e (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 |