Fix the Login Panel such that it persists until a successful login and maintains ui values between failed logins
When the login panel used to die, it now hides instead, we only truly kill it upon successful login. Much of the opening and setting behaviors have been cleaned up to ensure fields are autofilled by the viewer without any user action once Everything else like changing saved logins will still work the same.
This commit is contained in:
@@ -135,13 +135,6 @@ void LLProgressView::revealIntroPanel()
|
||||
gIdleCallbacks.addFunction(onIdle, this);
|
||||
}
|
||||
|
||||
void LLProgressView::abortShowProgress()
|
||||
{
|
||||
mFadeFromLoginTimer.stop();
|
||||
LLPanelLogin::close();
|
||||
gIdleCallbacks.deleteFunction(onIdle, this);
|
||||
}
|
||||
|
||||
void LLProgressView::setStartupComplete()
|
||||
{
|
||||
mStartupComplete = true;
|
||||
@@ -334,7 +327,7 @@ void LLProgressView::onIdle(void* user_data)
|
||||
self->mFadeFromLoginTimer.getElapsedTimeF32() > FADE_TO_WORLD_TIME)
|
||||
{
|
||||
self->mFadeFromLoginTimer.stop();
|
||||
LLPanelLogin::close();
|
||||
LLPanelLogin::hide();
|
||||
|
||||
// Nothing to do anymore.
|
||||
gIdleCallbacks.deleteFunction(onIdle, user_data);
|
||||
|
||||
Reference in New Issue
Block a user