summaryrefslogtreecommitdiff
path: root/indra/llprimitive/lltextureentry.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-01-27 09:47:22 -0500
committerOz Linden <oz@lindenlab.com>2011-01-27 09:47:22 -0500
commitb4c36af1419c980fd6be032b44033852d036a790 (patch)
treec3ec2084584eec2203b6661d6cca4650b100300e /indra/llprimitive/lltextureentry.cpp
parentff0e3e6177812cdb6b3e044500d50f5d8d10434a (diff)
parent92eadc18f3ea3538c36518f7060b4b78a80bc0d7 (diff)
merge changes for storm-547
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;