diff options
author | Callum Prentice <callum@lindenlab.com> | 2025-06-06 17:21:19 -0700 |
---|---|---|
committer | Callum Prentice <callum@lindenlab.com> | 2025-06-06 17:21:19 -0700 |
commit | a366a49daff63af865aa5e3bda9186d8b0db4814 (patch) | |
tree | a9a4aed362d44b48f3603c9b82e7ada7686056fe /indra/newview/llstartup.cpp | |
parent | ddbcf74a8f171adabf3b61a8ce3419eea0d1e018 (diff) |
tweak the size of the AWP floater to take account of new image sizes. Do not center floater anymore because it obscures the avatar.
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r-- | indra/newview/llstartup.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index f065d286c8..6bf0a50d1c 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -2455,7 +2455,11 @@ bool idle_startup() LLFloater* avatar_welcome_pack_floater = LLFloaterReg::findInstance("avatar_welcome_pack"); if (avatar_welcome_pack_floater != nullptr) { - avatar_welcome_pack_floater->center(); + // There is a (very - 1 in ~50 times) hard to repro bug where the login + // page is not hidden when the AWP floater is presented. This (agressive) + // approach to always close it seems like the best fix for now. + LLPanelLogin::closePanel(); + avatar_welcome_pack_floater->setVisible(true); } } |