summaryrefslogtreecommitdiff
path: root/indra/llprimitive
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2011-01-24 15:51:33 -0700
committerXiaohong Bao <bao@lindenlab.com>2011-01-24 15:51:33 -0700
commiteec332cfbe200f585d8fd382867b90d89d1ab5c0 (patch)
tree84ddc599c33a916a8996ca05ef36ecd41d119311 /indra/llprimitive
parentde83bd5c6b1e103993ba74321d600f1c413785ce (diff)
parent2a14079563ce323452a8088cca994e4f5c0edcd4 (diff)
Automated merge with http://hg.secondlife.com/viewer-development
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;