summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-07-03 16:01:32 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-07-03 16:01:32 -0400
commit6ba85bd6b300b471ec5f86af462f297bb54522e2 (patch)
tree0eaae205c2e0db39ee34c9f88e92e9ecc278a576 /indra
parentca16e3ad26bcbf409ead1eb9acec4e23c992f6c1 (diff)
SH-4305 WIP - unlock and set loading complete after base outfit saved.
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llappearancemgr.cpp2
-rwxr-xr-xindra/newview/llappearancemgr.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp
index d994b7ca42..a0f8cbe911 100755
--- a/indra/newview/llappearancemgr.cpp
+++ b/indra/newview/llappearancemgr.cpp
@@ -2836,6 +2836,8 @@ void appearance_mgr_update_dirty_state()
if (LLAppearanceMgr::instanceExists())
{
LLAppearanceMgr::getInstance()->updateIsDirty();
+ LLAppearanceMgr::getInstance()->setOutfitLocked(false);
+ gAgentWearables.notifyLoadingFinished();
}
}
diff --git a/indra/newview/llappearancemgr.h b/indra/newview/llappearancemgr.h
index 13a2a62717..8c8b5e2489 100755
--- a/indra/newview/llappearancemgr.h
+++ b/indra/newview/llappearancemgr.h
@@ -171,6 +171,8 @@ public:
// should only be necessary to do on initial login.
void updateIsDirty();
+ void setOutfitLocked(bool locked);
+
// Called when self avatar is first fully visible.
void onFirstFullyVisible();
@@ -250,8 +252,6 @@ private:
static void onOutfitRename(const LLSD& notification, const LLSD& response);
- void setOutfitLocked(bool locked);
-
bool mAttachmentInvLinkEnabled;
bool mOutfitIsDirty;
bool mIsInUpdateAppearanceFromCOF; // to detect recursive calls.