summaryrefslogtreecommitdiff
path: root/indra/llprimitive/lltextureentry.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-02-18 06:15:12 -0500
committerOz Linden <oz@lindenlab.com>2011-02-18 06:15:12 -0500
commit17f79c802023d3b220986321f51757b102b70e81 (patch)
tree93fd855bf772d1f0deac96a504323a707c112ea7 /indra/llprimitive/lltextureentry.cpp
parentd0b4c4a7b2c454d1a287af4a3a7b7342609d555d (diff)
parentc89e281de1420254f8028f4dff907cf1ae985d7a (diff)
merge changes for viewer-vs2010
Diffstat (limited to 'indra/llprimitive/lltextureentry.cpp')
-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;