summaryrefslogtreecommitdiff
path: root/indra/llprimitive
diff options
context:
space:
mode:
authorTofu Buzzard <no-email>2011-02-01 09:44:47 -0800
committerTofu Buzzard <no-email>2011-02-01 09:44:47 -0800
commit7ddf7e17c01242901cef9219e27077e0d1243997 (patch)
tree3e256a2e6af59ebed663e8d5bdd31f3b73e1e02d /indra/llprimitive
parent622c5f11306c88055fc1be0a290041ef7e3394a4 (diff)
parentc7d0fab7b9279c5f6a57ee3de103b8fb142fb747 (diff)
merge
Diffstat (limited to 'indra/llprimitive')
-rw-r--r--indra/llprimitive/lltextureentry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llprimitive/lltextureentry.cpp b/indra/llprimitive/lltextureentry.cpp
index 3c1d031ff5..861bde5c89 100644
--- a/indra/llprimitive/lltextureentry.cpp
+++ b/indra/llprimitive/lltextureentry.cpp
@@ -403,7 +403,7 @@ S32 LLTextureEntry::setOffsetT(F32 t)
S32 LLTextureEntry::setRotation(F32 theta)
{
- if (mRotation != theta)
+ if (mRotation != theta && llfinite(theta))
{
mRotation = theta;
return TEM_CHANGE_TEXTURE;