From bb06bcb1eae78ce3811761f057c8060e7575192d Mon Sep 17 00:00:00 2001 From: Mnikolenko ProductEngine Date: Thu, 14 Apr 2016 16:36:30 +0300 Subject: MAINT-6254 FIXED Default gallery thumbnail shows thru the outfit gallery image --- indra/newview/lloutfitgallery.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview/lloutfitgallery.cpp') 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) -- cgit v1.2.3