Added some nullchecks, removed some dead code, and cleaned up a few small things.

This commit is contained in:
Shyotl
2012-11-04 21:16:53 -06:00
parent dca9501de7
commit 71deb8925e
6 changed files with 33 additions and 24 deletions

View File

@@ -1448,7 +1448,11 @@ void LLViewerFetchedTexture::addToCreateTexture()
for(U32 i = 0 ; i < mNumFaces ; i++)
{
mFaceList[i]->dirtyTexture() ;
LLFace* facep = mFaceList[i];
if(facep)
{
facep->dirtyTexture() ;
}
}
//discard the cached raw image and the saved raw image