summaryrefslogtreecommitdiff
path: root/indra/newview/llsidepanelappearance.cpp
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2013-04-17 11:08:40 -0400
committerprep <prep@lindenlab.com>2013-04-17 11:08:40 -0400
commit392f561b6c28aede2b61bc9cc2cc75de587926b6 (patch)
tree166e86e78cbffbf5205fe9d24b2b6fad547b0c73 /indra/newview/llsidepanelappearance.cpp
parent8cf67fe50cfa070e5aa786acdb9bce58c350d840 (diff)
Fix for SH-4123: outfit update corrected for edit/save/abandon sequence
Diffstat (limited to 'indra/newview/llsidepanelappearance.cpp')
-rw-r--r--indra/newview/llsidepanelappearance.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llsidepanelappearance.cpp b/indra/newview/llsidepanelappearance.cpp
index 3c21219dc1..75da23b558 100644
--- a/indra/newview/llsidepanelappearance.cpp
+++ b/indra/newview/llsidepanelappearance.cpp
@@ -90,8 +90,9 @@ bool LLSidepanelAppearance::callBackExitWithoutSaveViaClose(const LLSD& notifica
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
if ( option == 0 )
{
+ //revert curernt edits
mEditWearable->revertChanges();
- LLAppearanceMgr::getInstance()->wearBaseOutfit();
+ LLVOAvatarSelf::onCustomizeEnd(FALSE);
mLLFloaterSidePanelContainer->close();
return true;
}