SL-20189 Crash at LLViewerMediaTexture::addFace
parent
226a0025e9
commit
720504595a
|
|
@ -3742,7 +3742,10 @@ void LLViewerMediaTexture::addFace(U32 ch, LLFace* facep)
|
|||
|
||||
if(te && te->getID().notNull()) //should have a texture
|
||||
{
|
||||
LL_ERRS() << "The face does not have a valid texture before media texture." << LL_ENDL;
|
||||
LL_WARNS_ONCE() << "The face's texture " << te->getID() << " is not valid. Face must have a valid texture before media texture." << LL_ENDL;
|
||||
// This might break the object, but it likely isn't a 'recoverable' situation.
|
||||
LLViewerFetchedTexture* tex = LLViewerTextureManager::getFetchedTexture(te->getID());
|
||||
mTextureList.push_back(tex);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue