summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-11-10 18:18:31 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-11-10 18:18:51 +0200
commit46ebe69f328f4f734b01d1cd8bec8da6008078fe (patch)
treed3bee80d352b471a67cfbad8eb0b4dc98f290f84 /indra/newview/llappviewer.cpp
parent79ec8a8be4ebf143dfb2487ded13e0498982e6b8 (diff)
SL-14303 Fix LLWearableType to not spam in logs
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r--indra/newview/llappviewer.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index f61f0d9181..874482b9ec 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -775,10 +775,6 @@ bool LLAppViewer::init()
// Start of the application
//
- // initialize LLWearableType translation bridge.
- // Memory will be cleaned up in ::cleanupClass()
- LLWearableType::initParamSingleton(new LLUITranslationBridge());
-
// initialize the LLSettingsType translation bridge.
LLTranslationBridge::ptr_t trans = std::make_shared<LLUITranslationBridge>();
LLSettingsType::initClass(trans);
@@ -800,9 +796,14 @@ bool LLAppViewer::init()
//
init_default_trans_args();
+ // inits from settings.xml and from strings.xml
if (!initConfiguration())
return false;
+ // initialize LLWearableType translation bridge.
+ // Will immediately use LLTranslationBridge to init LLWearableDictionary
+ LLWearableType::initParamSingleton(trans);
+
LL_INFOS("InitInfo") << "Configuration initialized." << LL_ENDL ;
//set the max heap size.