diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-01-16 17:22:17 +0200 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2018-01-16 17:22:17 +0200 |
commit | 4e808cfa852b873b484d0b9c90ab89ac196c3e52 (patch) | |
tree | 0e93bf1dc84020dda02017a929206439052a5113 /indra | |
parent | df45a4ef146a0eaa78d3a174bbc68bb67f0dee36 (diff) |
MAINT-3859 Fixed Texture animation flicker at certain frame rates
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llviewertextureanim.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/llviewertextureanim.cpp b/indra/newview/llviewertextureanim.cpp index 9af92d7377..b94f6f4569 100644 --- a/indra/newview/llviewertextureanim.cpp +++ b/indra/newview/llviewertextureanim.cpp @@ -138,10 +138,8 @@ S32 LLViewerTextureAnim::animateTextures(F32 &off_s, F32 &off_t, { frame_counter = fmod(frame_counter, full_length); } - else - { - frame_counter = llmin(full_length - 1.f, frame_counter); - } + + frame_counter = llmin(full_length - 1.f, frame_counter); if (!(mMode & SMOOTH)) { |