Skip to content
Snippets Groups Projects
Commit 8dad2e56 authored by Xiaohong Bao's avatar Xiaohong Bao
Browse files

fix for SH-416: crash at LLFace::getGeometryVolume line 1003

parent f137dc0c
No related branches found
No related tags found
No related merge requests found
...@@ -403,7 +403,7 @@ S32 LLTextureEntry::setOffsetT(F32 t) ...@@ -403,7 +403,7 @@ S32 LLTextureEntry::setOffsetT(F32 t)
S32 LLTextureEntry::setRotation(F32 theta) S32 LLTextureEntry::setRotation(F32 theta)
{ {
if (mRotation != theta) if (mRotation != theta && llfinite(theta))
{ {
mRotation = theta; mRotation = theta;
return TEM_CHANGE_TEXTURE; return TEM_CHANGE_TEXTURE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment