SH-4305 WIP - unlock and set loading complete after base outfit saved.

meow-7.2.2
Brad Payne (Vir Linden) 2013-07-03 16:01:32 -04:00
parent ca16e3ad26
commit 6ba85bd6b3
2 changed files with 4 additions and 2 deletions

View File

@ -2836,6 +2836,8 @@ void appearance_mgr_update_dirty_state()
if (LLAppearanceMgr::instanceExists())
{
LLAppearanceMgr::getInstance()->updateIsDirty();
LLAppearanceMgr::getInstance()->setOutfitLocked(false);
gAgentWearables.notifyLoadingFinished();
}
}

View File

@ -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.