fix for normal EXT-3997 IM and Profile pictures never fully rez, or are too-low resolution
no idea why this(...a bit different set of flags and forceToSaveRawImage(0)...) do the job...just copy/past from LLPreviewTexture. --HG-- branch : product-enginemaster
parent
3398ed6f89
commit
17a72e5e51
|
|
@ -1190,8 +1190,12 @@ void LLTextureCtrl::draw()
|
|||
}
|
||||
else if (!mImageAssetID.isNull())
|
||||
{
|
||||
mTexturep = LLViewerTextureManager::getFetchedTexture(mImageAssetID, MIPMAP_YES);
|
||||
mTexturep->setBoostLevel(LLViewerTexture::BOOST_PREVIEW);
|
||||
LLPointer<LLViewerFetchedTexture> texture = LLViewerTextureManager::getFetchedTexture(mImageAssetID, MIPMAP_YES,LLViewerTexture::BOOST_NONE, LLViewerTexture::LOD_TEXTURE);
|
||||
|
||||
texture->setBoostLevel(LLViewerTexture::BOOST_PREVIEW);
|
||||
texture->forceToSaveRawImage(0) ;
|
||||
|
||||
mTexturep = texture;
|
||||
}
|
||||
else if (!mFallbackImageName.empty())
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue