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

meow-7.2.2
Xiaohong Bao 2011-08-17 18:12:25 -06:00
parent c3327eba03
commit fe46a8e012
1 changed files with 2 additions and 0 deletions

View File

@ -1887,6 +1887,7 @@ BOOL LLImageGL::getMask(const LLVector2 &tc)
void LLImageGL::setCategory(S32 category)
{
#if 0 //turn this off temporarily because it is not in use now.
if(!gAuditTexture)
{
return ;
@ -1907,6 +1908,7 @@ void LLImageGL::setCategory(S32 category)
mCategory = -1 ;
}
}
#endif
}
//for debug use