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

fix for sh-2307: crash at LLImageGL::setCategory(int) line 1890

parent c3327eba
No related branches found
No related tags found
No related merge requests found
...@@ -1887,6 +1887,7 @@ BOOL LLImageGL::getMask(const LLVector2 &tc) ...@@ -1887,6 +1887,7 @@ BOOL LLImageGL::getMask(const LLVector2 &tc)
void LLImageGL::setCategory(S32 category) void LLImageGL::setCategory(S32 category)
{ {
#if 0 //turn this off temporarily because it is not in use now.
if(!gAuditTexture) if(!gAuditTexture)
{ {
return ; return ;
...@@ -1907,6 +1908,7 @@ void LLImageGL::setCategory(S32 category) ...@@ -1907,6 +1908,7 @@ void LLImageGL::setCategory(S32 category)
mCategory = -1 ; mCategory = -1 ;
} }
} }
#endif
} }
//for debug use //for debug use
......
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