diff options
| author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2026-04-24 21:45:25 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-24 21:45:25 +0300 |
| commit | 4ccf6d90efe34475a39c89bf40f17c0d56a3ce1a (patch) | |
| tree | 2a5be30eceebfbb450afc76fa0db98d38b5f8ec9 /indra/newview/llviewerwindow.cpp | |
| parent | a7c084735ee43d94272d4cebe6894e2ec5cbd8ec (diff) | |
#5439 fix Avatar Welcome Pack not being opened on the first session
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
| -rw-r--r-- | indra/newview/llviewerwindow.cpp | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 8695b96952..0f3f24d1af 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -2330,14 +2330,22 @@ void LLViewerWindow::initWorldUI() physical_mem = LLMemory::getMaxMemKB(); } - if (!gNonInteractive && physical_mem > MIN_PHYSICAL_MEMORY) + if (!gNonInteractive) { - LL_INFOS() << "Preloading cef instances" << LL_ENDL; + if (physical_mem > MIN_PHYSICAL_MEMORY) + { + LL_INFOS() << "Preloading cef instances" << LL_ENDL; - LLFloaterReg::getInstance("destinations"); - LLFloaterReg::getInstance("avatar_welcome_pack"); - LLFloaterReg::getInstance("search"); - LLFloaterReg::getInstance("marketplace"); + LLFloaterReg::getInstance("destinations"); + LLFloaterReg::getInstance("avatar_welcome_pack"); + LLFloaterReg::getInstance("search"); + LLFloaterReg::getInstance("marketplace"); + } + else if (gSavedSettings.getBOOL("FirstLoginThisInstall")) + { + // Preload the welcome pack for first-time login even on low end hardware + LLFloaterReg::getInstance("avatar_welcome_pack"); + } } } |
