Soften another common llassert() failure to a warning.

meow-7.2.2
Tofu Linden 2010-01-21 15:39:19 -08:00
parent a0666bdb70
commit c510fed273
1 changed files with 4 additions and 1 deletions

View File

@ -502,7 +502,10 @@ void LLViewerTextureList::addImageToList(LLViewerFetchedTexture *image)
{
llerrs << "LLViewerTextureList::addImageToList - Image already in list" << llendl;
}
llverify((mImageList.insert(image)).second == true);
if ((mImageList.insert(image)).second != true)
{
llwarns << "BAD STUFF! (mImageList.insert(image)).second != true" << llendl;
}
image->setInImageList(TRUE) ;
}