diff options
author | Jacek Antonelli | 2010-06-22 20:09:45 -0500 |
---|---|---|
committer | Jacek Antonelli | 2010-06-22 20:54:46 -0500 |
commit | 932dd4d222b514f81ad5ad3a06b599cce04f7e23 (patch) | |
tree | 302628a0a951a25ea22ace711cbc6de0198384a8 /linden/indra/newview/llstartup.cpp | |
parent | Fixed radar spam regression (diff) | |
download | meta-impy-932dd4d222b514f81ad5ad3a06b599cce04f7e23.zip meta-impy-932dd4d222b514f81ad5ad3a06b599cce04f7e23.tar.gz meta-impy-932dd4d222b514f81ad5ad3a06b599cce04f7e23.tar.bz2 meta-impy-932dd4d222b514f81ad5ad3a06b599cce04f7e23.tar.xz |
Partially reverted cad41f1 and 65a5856 to help login issues.
This reverts (except for some parts):
- Commit cad41f1ae08927737eca4cd9df25381d78e82304.
"Fixed #338: addRegion/removeRegion can trigger a viewer quit"
- Commit 65a5856f9567074886f28df59a26433c4b447576.
"wip forcing region disconnects to log you out"
Diffstat (limited to 'linden/indra/newview/llstartup.cpp')
-rw-r--r-- | linden/indra/newview/llstartup.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp index 735397e..a391669 100644 --- a/linden/indra/newview/llstartup.cpp +++ b/linden/indra/newview/llstartup.cpp | |||
@@ -1809,13 +1809,8 @@ bool idle_startup() | |||
1809 | regionp->setSeedCapability(first_sim_seed_cap); | 1809 | regionp->setSeedCapability(first_sim_seed_cap); |
1810 | LL_DEBUGS("AppInit") << "Waiting for seed grant ...." << LL_ENDL; | 1810 | LL_DEBUGS("AppInit") << "Waiting for seed grant ...." << LL_ENDL; |
1811 | 1811 | ||
1812 | // Set agent's initial region to be the one we just created | 1812 | // Set agent's initial region to be the one we just created. |
1813 | // Only if we don't already have one set. We want to catch this here | 1813 | gAgent.setRegion(regionp); |
1814 | // because setRegion calls removeRegion, which kills the viewer -- MC | ||
1815 | if (!gAgent.getRegion() && gAgent.getRegion() != regionp) | ||
1816 | { | ||
1817 | gAgent.setRegion(regionp); | ||
1818 | } | ||
1819 | 1814 | ||
1820 | // Set agent's initial position, which will be read by LLVOAvatar when the avatar | 1815 | // Set agent's initial position, which will be read by LLVOAvatar when the avatar |
1821 | // object is created. I think this must be done after setting the region. JC | 1816 | // object is created. I think this must be done after setting the region. JC |
@@ -3629,7 +3624,6 @@ std::string LLStartUp::startupStateToString(EStartupState state) | |||
3629 | #define RTNENUM(E) case E: return #E | 3624 | #define RTNENUM(E) case E: return #E |
3630 | switch(state){ | 3625 | switch(state){ |
3631 | RTNENUM( STATE_FIRST ); | 3626 | RTNENUM( STATE_FIRST ); |
3632 | RTNENUM( STATE_BROWSER_INIT ); | ||
3633 | RTNENUM( STATE_LOGIN_SHOW ); | 3627 | RTNENUM( STATE_LOGIN_SHOW ); |
3634 | RTNENUM( STATE_LOGIN_WAIT ); | 3628 | RTNENUM( STATE_LOGIN_WAIT ); |
3635 | RTNENUM( STATE_LOGIN_CLEANUP ); | 3629 | RTNENUM( STATE_LOGIN_CLEANUP ); |
@@ -3640,7 +3634,6 @@ std::string LLStartUp::startupStateToString(EStartupState state) | |||
3640 | RTNENUM( STATE_LOGIN_DOWNLOADING ); | 3634 | RTNENUM( STATE_LOGIN_DOWNLOADING ); |
3641 | RTNENUM( STATE_LOGIN_PROCESS_RESPONSE ); | 3635 | RTNENUM( STATE_LOGIN_PROCESS_RESPONSE ); |
3642 | RTNENUM( STATE_WORLD_INIT ); | 3636 | RTNENUM( STATE_WORLD_INIT ); |
3643 | RTNENUM( STATE_MULTIMEDIA_INIT ); | ||
3644 | RTNENUM( STATE_SEED_GRANTED_WAIT ); | 3637 | RTNENUM( STATE_SEED_GRANTED_WAIT ); |
3645 | RTNENUM( STATE_SEED_CAP_GRANTED ); | 3638 | RTNENUM( STATE_SEED_CAP_GRANTED ); |
3646 | RTNENUM( STATE_WORLD_WAIT ); | 3639 | RTNENUM( STATE_WORLD_WAIT ); |