summaryrefslogtreecommitdiff
path: root/indra/newview/lloutfitgallery.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2016-05-25 18:52:57 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2016-05-25 18:52:57 +0300
commit5b49f5c56e0178d1f2f655ee678a9bea58edd5d5 (patch)
tree3f3157de2dd37d0888e3200891e4867704236ed9 /indra/newview/lloutfitgallery.cpp
parent4d9b3cd725e053e10016a39313080c9c6c6a71c7 (diff)
MAINT-6440 FIXED Inappropriate outfit is worn after clicking Wear button in Visual Outfit Browser
Diffstat (limited to 'indra/newview/lloutfitgallery.cpp')
-rw-r--r--indra/newview/lloutfitgallery.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/lloutfitgallery.cpp b/indra/newview/lloutfitgallery.cpp
index e6c41b612f..f29fc53dea 100644
--- a/indra/newview/lloutfitgallery.cpp
+++ b/indra/newview/lloutfitgallery.cpp
@@ -508,6 +508,11 @@ void LLOutfitGallery::onChangeOutfitSelection(LLWearableItemsList* list, const L
}
}
+void LLOutfitGallery::wearSelectedOutfit()
+{
+ LLAppearanceMgr::instance().replaceCurrentOutfit(getSelectedOutfitUUID());
+}
+
bool LLOutfitGallery::hasItemSelected()
{
return false;