diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2016-04-14 16:36:30 +0300 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2016-04-14 16:36:30 +0300 |
commit | bb06bcb1eae78ce3811761f057c8060e7575192d (patch) | |
tree | c5a28cb586b4444f88f0272af555cd4f27161175 /indra/newview/lloutfitgallery.cpp | |
parent | 808b8ed01849fc6e2cd5caba68843eebcadc5333 (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.cpp | 2 |
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) |