diff options
author | Igor Borovkov <iborovkov@productengine.com> | 2010-04-09 15:19:11 +0300 |
---|---|---|
committer | Igor Borovkov <iborovkov@productengine.com> | 2010-04-09 15:19:11 +0300 |
commit | cf31494b5053283b4d445b0c564b5e7d57af2a18 (patch) | |
tree | a1cada4d180b02adedb3b905b079f3dd4308f702 /indra/newview/llappearancemgr.cpp | |
parent | a7dce3f811bec56204736b6223cd67431bc20f99 (diff) |
done EXT-6688 Implement Revert button funtionality (Edit Outfit panel)
On revert the base outfit is worn
Reviewed by Neal Orman at https://codereview.productengine.com/secondlife/r/205/
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rw-r--r-- | indra/newview/llappearancemgr.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 0bd95987d7..4a30ba3066 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -1579,6 +1579,14 @@ bool LLAppearanceMgr::updateBaseOutfit() return true; } +void LLAppearanceMgr::wearBaseOutfit() +{ + const LLUUID& base_outfit_id = getBaseOutfitUUID(); + if (base_outfit_id.isNull()) return; + + updateCOF(base_outfit_id); +} + //#define DUMP_CAT_VERBOSE void LLAppearanceMgr::dumpCat(const LLUUID& cat_id, const std::string& msg) |