summaryrefslogtreecommitdiff
path: root/indra/llprimitive
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-01-31 12:34:17 -0500
committerOz Linden <oz@lindenlab.com>2011-01-31 12:34:17 -0500
commited308d15bf2f88f91687411cd92f6cc55b1e75b4 (patch)
tree9353a91515097c1088ed850ab27372e433f2f7c1 /indra/llprimitive
parent5322021746582195df6b7ad5843a7da09e617917 (diff)
parentcb6d59513eabe72029821a96191873351fd5c753 (diff)
merge changes for storm-845
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;