diff options
author | David Walter Seikel | 2011-12-03 18:50:34 +1000 |
---|---|---|
committer | David Walter Seikel | 2011-12-03 18:50:34 +1000 |
commit | d3b9f715f0ad9516fa350a5c0b83330b733ee0f9 (patch) | |
tree | e1481a7b83ae6f4fa0a88c4eebb6dbecd83e86fd /linden/indra/newview/llstartup.cpp | |
parent | Another possible fix for misplaced HUDs? (diff) | |
parent | Made the voice license window resizable (diff) | |
download | meta-impy-d3b9f715f0ad9516fa350a5c0b83330b733ee0f9.zip meta-impy-d3b9f715f0ad9516fa350a5c0b83330b733ee0f9.tar.gz meta-impy-d3b9f715f0ad9516fa350a5c0b83330b733ee0f9.tar.bz2 meta-impy-d3b9f715f0ad9516fa350a5c0b83330b733ee0f9.tar.xz |
Merge branch 'next' of git://github.com/imprudence/imprudence into next
Removed the new "Set your own Imprudence tag colour feature". Should check though, might be bits left that where not obvious.
Conflicts:
.gitignore
linden/indra/cmake/00-Common.cmake
linden/indra/newview/llvoavatar.cpp
linden/indra/newview/res/viewerRes.rc
linden/indra/newview/skins/default/xui/en-us/panel_login.xml
linden/indra/newview/viewer_manifest.py
linden/indra/newview/viewerinfo.cpp
The usual branding conflicts.
Diffstat (limited to 'linden/indra/newview/llstartup.cpp')
-rw-r--r-- | linden/indra/newview/llstartup.cpp | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp index dcaa249..bbb942f 100644 --- a/linden/indra/newview/llstartup.cpp +++ b/linden/indra/newview/llstartup.cpp | |||
@@ -1168,19 +1168,24 @@ bool idle_startup() | |||
1168 | // color init must be after saved settings loaded | 1168 | // color init must be after saved settings loaded |
1169 | init_colors(); | 1169 | init_colors(); |
1170 | 1170 | ||
1171 | if (!gSavedSettings.getBOOL("EnableVoiceChat") || | 1171 | // skipping over STATE_LOGIN_VOICE_LICENSE since we don't need it |
1172 | (gSavedSettings.getBOOL("EnableVoiceChat") && gSavedSettings.getBOOL("VivoxLicenseAccepted")) || | 1172 | // skipping over STATE_UPDATE_CHECK because that just waits for input |
1173 | !gHippoGridManager->getConnectedGrid()->isSecondLife()) | 1173 | // We don't do this on non-SL grids either |
1174 | if (LLVoiceClient::needsVivoxLicense()) | ||
1174 | { | 1175 | { |
1175 | // skipping over STATE_LOGIN_VOICE_LICENSE since we don't need it | 1176 | if (gSavedSettings.getBOOL("EnableVoiceChat")) |
1176 | // skipping over STATE_UPDATE_CHECK because that just waits for input | 1177 | { |
1177 | // We don't do this on non-SL grids either | 1178 | LLStartUp::setStartupState(STATE_LOGIN_VOICE_LICENSE); |
1178 | LLStartUp::setStartupState( STATE_LOGIN_AUTH_INIT ); | 1179 | LLFirstUse::voiceLicenseAgreement(); |
1180 | } | ||
1181 | else | ||
1182 | { | ||
1183 | LLStartUp::setStartupState(STATE_LOGIN_AUTH_INIT); | ||
1184 | } | ||
1179 | } | 1185 | } |
1180 | else | 1186 | else |
1181 | { | 1187 | { |
1182 | LLStartUp::setStartupState(STATE_LOGIN_VOICE_LICENSE); | 1188 | LLStartUp::setStartupState(STATE_LOGIN_AUTH_INIT); |
1183 | LLFirstUse::voiceLicenseAgreement(); | ||
1184 | } | 1189 | } |
1185 | 1190 | ||
1186 | return FALSE; | 1191 | return FALSE; |