diff options
author | prep@lindenlab.com <prep@lindenlab.com> | 2012-11-19 11:27:16 -0600 |
---|---|---|
committer | prep@lindenlab.com <prep@lindenlab.com> | 2012-11-19 11:27:16 -0600 |
commit | 7221aaaf390270ae72ffbf6813b359d5d99480e8 (patch) | |
tree | ac1feeed828a64640ba62237d9feb5fa811fe727 | |
parent | 51a016a0cc6928dd2a685ce22dd6475e2610a5c5 (diff) |
Implementation for SH-3530, CR:Nyx
-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? } |