Diagnostics for marking images missing.
parent
d96171b6a4
commit
7f55a32168
|
|
@ -1875,6 +1875,9 @@ bool LLViewerFetchedTexture::updateFetch()
|
|||
if(mFullWidth > MAX_IMAGE_SIZE || mFullHeight > MAX_IMAGE_SIZE)
|
||||
{
|
||||
//discard all oversized textures.
|
||||
llinfos << "Discarding oversized texture, width= "
|
||||
<< mFullWidth << ", height= "
|
||||
<< mFullHeight << llendl;
|
||||
destroyRawImage();
|
||||
setIsMissingAsset();
|
||||
mRawDiscardLevel = INVALID_DISCARD_LEVEL ;
|
||||
|
|
@ -1905,6 +1908,7 @@ bool LLViewerFetchedTexture::updateFetch()
|
|||
// We finished but received no data
|
||||
if (current_discard < 0)
|
||||
{
|
||||
llinfos << "Discarding image, no data received" << llendl;
|
||||
setIsMissingAsset();
|
||||
desired_discard = -1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1304,7 +1304,7 @@ void LLViewerTextureList::receiveImagePacket(LLMessageSystem *msg, void **user_d
|
|||
}
|
||||
|
||||
|
||||
// We've been that the asset server does not contain the requested image id.
|
||||
// We've been told that the asset server does not contain the requested image id.
|
||||
// static
|
||||
void LLViewerTextureList::processImageNotInDatabase(LLMessageSystem *msg,void **user_data)
|
||||
{
|
||||
|
|
@ -1315,6 +1315,7 @@ void LLViewerTextureList::processImageNotInDatabase(LLMessageSystem *msg,void **
|
|||
LLViewerFetchedTexture* image = gTextureList.findImage( image_id );
|
||||
if( image )
|
||||
{
|
||||
llinfos << "Discarding image not in asset database" << llendl;
|
||||
image->setIsMissingAsset();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue