summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2025-06-03 17:50:15 -0700
committerCallum Prentice <callum@lindenlab.com>2025-06-03 17:50:15 -0700
commitd8db0ff30cd1775a66694bd0f1e02795c85722be (patch)
tree63f4b2d831e1baee6dab6d46321c02913d366e0c /indra/newview/llviewerwindow.cpp
parentde8275b14b30bf754cdba1da867cb2e6c2783639 (diff)
First commit - bare bones of it working - pointing to test page on S3
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r--indra/newview/llviewerwindow.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index d2685bcc48..a279664522 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -2299,6 +2299,14 @@ void LLViewerWindow::initWorldUI()
url = LLWeb::expandURLSubstitutions(url, LLSD());
avatar_picker->navigateTo(url, HTTP_CONTENT_TEXT_HTML);
}
+ LLMediaCtrl* avatar_welcome_pack = LLFloaterReg::getInstance("avatar_welcome_pack")->findChild<LLMediaCtrl>("avatar_picker_contents");
+ if (avatar_welcome_pack)
+ {
+ avatar_welcome_pack->setErrorPageURL(gSavedSettings.getString("GenericErrorPageURL"));
+ std::string url = gSavedSettings.getString("AvatarWelcomePack");
+ url = LLWeb::expandURLSubstitutions(url, LLSD());
+ avatar_welcome_pack->navigateTo(url, HTTP_CONTENT_TEXT_HTML);
+ }
}
}