From 03540e8a394490156c21af5ea18d58f3f43c4164 Mon Sep 17 00:00:00 2001
From: Andrey Kleshchev <andreykproductengine@lindenlab.com>
Date: Mon, 23 Nov 2020 20:41:32 +0200
Subject: [PATCH] SL-14370 Fix loading indicators

---
 indra/newview/llpaneloutfitedit.cpp     | 2 ++
 indra/newview/llsidepanelappearance.cpp | 2 ++
 indra/newview/llviewerwearable.cpp      | 1 -
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/indra/newview/llpaneloutfitedit.cpp b/indra/newview/llpaneloutfitedit.cpp
index 7c962c296bc..28a020870fe 100644
--- a/indra/newview/llpaneloutfitedit.cpp
+++ b/indra/newview/llpaneloutfitedit.cpp
@@ -563,6 +563,8 @@ BOOL LLPanelOutfitEdit::postBuild()
 	mGearMenuBtn->setMenu(mGearMenu);
 
 	mSaveComboBtn.reset(new LLSaveOutfitComboBtn(this));
+
+	onOutfitChanging(gAgentWearables.isCOFChangeInProgress());
 	return TRUE;
 }
 
diff --git a/indra/newview/llsidepanelappearance.cpp b/indra/newview/llsidepanelappearance.cpp
index 6e2b4a00fc0..48151c17ea5 100644
--- a/indra/newview/llsidepanelappearance.cpp
+++ b/indra/newview/llsidepanelappearance.cpp
@@ -140,6 +140,8 @@ BOOL LLSidepanelAppearance::postBuild()
 
 	setVisibleCallback(boost::bind(&LLSidepanelAppearance::onVisibilityChanged,this,_2));
 
+	setWearablesLoading(gAgentWearables.isCOFChangeInProgress());
+
 	return TRUE;
 }
 
diff --git a/indra/newview/llviewerwearable.cpp b/indra/newview/llviewerwearable.cpp
index 839e7c55244..9c4dfd1ca25 100644
--- a/indra/newview/llviewerwearable.cpp
+++ b/indra/newview/llviewerwearable.cpp
@@ -463,7 +463,6 @@ void LLViewerWearable::revertValues()
 {
 	LLWearable::revertValues();
 
-
 	LLSidepanelAppearance *panel = dynamic_cast<LLSidepanelAppearance*>(LLFloaterSidePanelContainer::findPanel("appearance"));
 	if( panel )
 	{
-- 
GitLab