Fixed img crash stupid bump maps :S

This commit is contained in:
phr0z3nt04st
2010-08-15 22:19:21 -05:00
parent 365b45e94a
commit 09b75b8ddd

View File

@@ -583,6 +583,11 @@ BOOL LLDrawPoolBump::bindBumpMap(LLDrawInfo& params, S32 channel)
case BE_DARKNESS:
if( tex )
{
if(tex->getID()== IMG_DEFAULT)
{
return TRUE;
}
bump = gBumpImageList.getBrightnessDarknessImage( tex, bump_code );
}
break;