diff options
Diffstat (limited to 'indra/newview')
-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)) { |