SL-11338 Better logging for missing texture reference

master
andreykproductengine 2019-05-31 21:56:58 +03:00
parent 618446f8df
commit 3dd074d5ec
1 changed files with 2 additions and 2 deletions

View File

@ -3680,9 +3680,9 @@ void LLViewerMediaTexture::removeFace(U32 ch, LLFace* facep)
}
}
if(te && te->getID().notNull()) //should have a texture
if(te && te->getID().notNull()) //should have a texture but none found
{
LL_ERRS() << "mTextureList texture reference number is corrupted." << LL_ENDL;
LL_ERRS() << "mTextureList texture reference number is corrupted. Texture id: " << te->getID() << " List size: " << (U32)mTextureList.size() << LL_ENDL;
}
}