summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNyx Linden <nyx@lindenlab.com>2013-03-20 12:04:26 -0400
committerNyx Linden <nyx@lindenlab.com>2013-03-20 12:04:26 -0400
commit38970de543e7946ff1e9700e2f0f43f82e6dbb1a (patch)
treecbf30d31b4c19a3acfa1a531065cba1930c4ef6f
parent34181d1566d91c8e5d659db0f64d6989c824fa1f (diff)
SH-3978 FIX Unsaved changes/save options not shown after adding new pants.
UI was incorrectly assuming that saving a wearable meant that the outfit did not need to be saved as well. Updated panel switching to actually check whether the outfit matches the base outfit.
-rw-r--r--indra/newview/llsidepanelappearance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llsidepanelappearance.cpp b/indra/newview/llsidepanelappearance.cpp
index 025b20d676..d25d203feb 100644
--- a/indra/newview/llsidepanelappearance.cpp
+++ b/indra/newview/llsidepanelappearance.cpp
@@ -375,7 +375,7 @@ void LLSidepanelAppearance::toggleOutfitEditPanel(BOOL visible, BOOL disable_cam
if (!disable_camera_switch) // if we're just switching between outfit and wearable editing, don't end customization.
{
LLVOAvatarSelf::onCustomizeEnd(disable_camera_switch);
- LLAppearanceMgr::getInstance()->setOutfitDirty( FALSE );
+ LLAppearanceMgr::getInstance()->updateIsDirty();
}
}
}
@@ -410,7 +410,7 @@ void LLSidepanelAppearance::toggleWearableEditPanel(BOOL visible, LLViewerWearab
{
// Save changes if closing.
mEditWearable->saveChanges();
- LLAppearanceMgr::getInstance()->setOutfitDirty( FALSE );
+ LLAppearanceMgr::getInstance()->updateIsDirty();
if (!disable_camera_switch) // if we're just switching between outfit and wearable editing, don't end customization.
{
LLVOAvatarSelf::onCustomizeEnd(disable_camera_switch);