diff options
author | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2013-11-05 04:23:12 +0200 |
---|---|---|
committer | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2013-11-05 04:23:12 +0200 |
commit | 71205580d956d06fbdababd83ffe52885742d304 (patch) | |
tree | efd1da1a1ca84c625a7cd032fd214fe319770951 /indra | |
parent | 309d16ebdbd3b4d39271217beb9bc44d41db83d9 (diff) |
MAINT-3376 FIXED Successive llSetTextureAnim calls fail in 3.6.10 (283075) unless a different command (llSleep(0.01), llSay(0,"hello")) is placed between them.:
- fix for MAINT-2861 was reverted to resolve this issue;
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llvovolume.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 5205bc6987..8677c02829 100755 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -334,8 +334,15 @@ 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); } |