summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
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
commit926d0ad81e85852872be63190e1553af084e4641 (patch)
treefdff469acda5b5365569492ae7bf7db52b9f99cd /indra/newview/llvovolume.cpp
parent457e06e9e764b27ce6f4f8bd97882a5b32f45dc7 (diff)
MAINT-2861 FIXED llAdjustSoundVolume causes animated textures on same object to reset to first frame
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-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 dd161f84c1..ed2b18b822 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