diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-11-19 13:50:48 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-11-19 13:50:48 -0500 |
commit | bf87920fc91e2ca2b8d9f6f2656ad632c3005164 (patch) | |
tree | 0278f183b3487c00c062e165e2881ce9a4989dd8 /indra/newview | |
parent | a3ad89dd3535e2621b9f100fe45a2a3814b4045a (diff) | |
parent | 7221aaaf390270ae72ffbf6813b359d5d99480e8 (diff) |
merge
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llsaveoutfitcombobtn.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llsaveoutfitcombobtn.cpp b/indra/newview/llsaveoutfitcombobtn.cpp index cbad85cfd3..59137f4ef7 100644 --- a/indra/newview/llsaveoutfitcombobtn.cpp +++ b/indra/newview/llsaveoutfitcombobtn.cpp @@ -31,6 +31,8 @@ #include "llsidepanelappearance.h" #include "llsaveoutfitcombobtn.h" #include "llviewermenu.h" +#include "llagent.h" +#include "llviewerregion.h" static const std::string SAVE_BTN("save_btn"); static const std::string SAVE_FLYOUT_BTN("save_flyout_btn"); @@ -76,8 +78,12 @@ void LLSaveOutfitComboBtn::saveOutfit(bool as_new) if (panel_outfits_inventory) { panel_outfits_inventory->onSave(); + } + + if ( gAgent.getRegion() && gAgent.getRegion()->getCentralBakeVersion()) + { + LLAppearanceMgr::instance().requestServerAppearanceUpdate(); } - //*TODO how to get to know when base outfit is updated or new outfit is created? } |