summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaksymsproductengine <maksymsproductengine@lindenlab.com>2013-08-13 19:22:35 +0300
committermaksymsproductengine <maksymsproductengine@lindenlab.com>2013-08-13 19:22:35 +0300
commit9a117c4b5d4576c8b6863fea156e14e92e13eede (patch)
tree0fc17451a4e2bb315dc55fd448570515e885bcbe
parent28339afa157956d6ae4e68d0f8ce4eee6a254cfe (diff)
MAINT-2861 FIXED llAdjustSoundVolume causes animated textures on same object to reset to first frame
-rwxr-xr-xindra/newview/llvovolume.cpp10
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