Skip to content

Commit 2948df1

Browse files
committed
#3104: Fix outfit gallery pictures sometimes not loading
1 parent 6ff4fdc commit 2948df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indra/newview/lloutfitgallery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ bool LLOutfitGalleryItem::openOutfitsContent()
11281128

11291129
bool LLOutfitGalleryItem::setImageAssetId(LLUUID image_asset_id)
11301130
{
1131-
LLPointer<LLViewerFetchedTexture> texture = LLViewerTextureManager::getFetchedTexture(image_asset_id, FTT_DEFAULT, MIPMAP_YES, LLGLTexture::BOOST_NONE, LLViewerTexture::LOD_TEXTURE);
1131+
LLPointer<LLViewerFetchedTexture> texture = LLViewerTextureManager::getFetchedTexture(image_asset_id, FTT_DEFAULT, MIPMAP_YES, LLGLTexture::BOOST_NONE, LLViewerTexture::FETCHED_TEXTURE);
11321132
if (texture && texture->getOriginalWidth() <= MAX_OUTFIT_PHOTO_WIDTH && texture->getOriginalHeight() <= MAX_OUTFIT_PHOTO_HEIGHT)
11331133
{
11341134
mImageAssetId = image_asset_id;

0 commit comments

Comments
 (0)