diff options
author | Ansariel <none@none> | 2013-08-22 00:51:15 +0200 |
---|---|---|
committer | Ansariel <none@none> | 2013-08-22 00:51:15 +0200 |
commit | be07694b9cc8d2203cfedc777bcb00021dfa91a1 (patch) | |
tree | cf389c366cf044a2a013a746d4c59dc797d60bb4 | |
parent | 171089207b528ab80a954292c127ba77254ee927 (diff) |
MAINT-2773: Disable texture animation doesn't work
-rwxr-xr-x | doc/contributions.txt | 1 | ||||
-rwxr-xr-x | indra/newview/llviewerobjectlist.cpp | 10 |
2 files changed, 7 insertions, 4 deletions
diff --git a/doc/contributions.txt b/doc/contributions.txt index 7712f16ade..caeda19496 100755 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -176,6 +176,7 @@ Ansariel Hiller STORM-1713 STORM-1899 MAINT-2368 + MAINT-2773 Aralara Rajal Ardy Lay STORM-859 diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp index 66615657d8..b4e287c446 100755 --- a/indra/newview/llviewerobjectlist.cpp +++ b/indra/newview/llviewerobjectlist.cpp @@ -954,15 +954,17 @@ void LLViewerObjectList::update(LLAgent &agent, LLWorld &world) objectp = *idle_iter; llassert(objectp->isActive()); objectp->idleUpdate(agent, world, frame_time); - - } + } //update flexible objects LLVolumeImplFlexible::updateClass(); //update animated textures - LLViewerTextureAnim::updateClass(); - } + if (gAnimateTextures) + { + LLViewerTextureAnim::updateClass(); + } + } |