diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2010-12-23 11:42:17 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2010-12-23 11:42:17 -0700 |
commit | 8dad2e56f3d87769a47e9b89455274a130267cc9 (patch) | |
tree | 6b5ae33dcf964dd2e20fd85244a9a6e0021a400d | |
parent | f137dc0c2f928b81a90e59c58adefeb56f21393e (diff) |
fix for SH-416: crash at LLFace::getGeometryVolume line 1003
-rw-r--r-- | indra/llprimitive/lltextureentry.cpp | 2 |
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; |