summaryrefslogtreecommitdiff
path: root/indra/newview/lloutfitgallery.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2016-04-14 16:36:30 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2016-04-14 16:36:30 +0300
commitbb06bcb1eae78ce3811761f057c8060e7575192d (patch)
treec5a28cb586b4444f88f0272af555cd4f27161175 /indra/newview/lloutfitgallery.cpp
parent808b8ed01849fc6e2cd5caba68843eebcadc5333 (diff)
MAINT-6254 FIXED Default gallery thumbnail shows thru the outfit gallery image
Diffstat (limited to 'indra/newview/lloutfitgallery.cpp')
-rw-r--r--indra/newview/lloutfitgallery.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/lloutfitgallery.cpp b/indra/newview/lloutfitgallery.cpp
index 81ef8e96ec..175fd652c5 100644
--- a/indra/newview/lloutfitgallery.cpp
+++ b/indra/newview/lloutfitgallery.cpp
@@ -556,6 +556,7 @@ void LLOutfitGalleryItem::setImageAssetId(LLUUID image_asset_id)
mImageAssetId = image_asset_id;
mTexturep = LLViewerTextureManager::getFetchedTexture(image_asset_id);
mTexturep->setBoostLevel(LLGLTexture::BOOST_PREVIEW);
+ getChildView("preview_outfit")->setVisible(FALSE);
}
LLUUID LLOutfitGalleryItem::getImageAssetId()
@@ -567,6 +568,7 @@ void LLOutfitGalleryItem::setDefaultImage()
{
mTexturep = NULL;
mImageAssetId.setNull();
+ getChildView("preview_outfit")->setVisible(TRUE);
}
LLOutfitGalleryGearMenu::LLOutfitGalleryGearMenu(LLOutfitListBase* olist)