summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobjectlist.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2013-10-15 17:47:37 -0400
committerOz Linden <oz@lindenlab.com>2013-10-15 17:47:37 -0400
commit9c313aea13c70db145d3f2ba840fdc34ed8c8adf (patch)
tree72b76053aac0fedf411145b0427b2239971034b1 /indra/newview/llviewerobjectlist.cpp
parent1e32b9dd33fb9e2f0d9a7935a3696b423a191354 (diff)
parent8dc273b942ca3bae7469dcbaf7bab171b889eea1 (diff)
merge changes for DRTVWR-336
Diffstat (limited to 'indra/newview/llviewerobjectlist.cpp')
-rwxr-xr-xindra/newview/llviewerobjectlist.cpp10
1 files changed, 6 insertions, 4 deletions
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();
+ }
+ }