From 6a2ae7da100d23e94a351094899b8c9170a98bb4 Mon Sep 17 00:00:00 2001
From: Andrey Kleshchev <andreykproductengine@lindenlab.com>
Date: Mon, 27 Jun 2022 22:54:09 +0300
Subject: [PATCH] SL-17640 Fix texture picker not enabling 'apply now'

---
 indra/newview/lltexturectrl.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/lltexturectrl.cpp b/indra/newview/lltexturectrl.cpp
index b761f34790c..ee83d9eb57d 100644
--- a/indra/newview/lltexturectrl.cpp
+++ b/indra/newview/lltexturectrl.cpp
@@ -121,8 +121,8 @@ LLFloaterTexturePicker::LLFloaterTexturePicker(
 	mOnUpdateImageStatsCallback(NULL),
 	mBakeTextureEnabled(FALSE)
 {
-	buildFromFile("floater_texture_ctrl.xml");
 	mCanApplyImmediately = can_apply_immediately;
+	buildFromFile("floater_texture_ctrl.xml");
 	setCanMinimize(FALSE);
 }
 
-- 
GitLab