diff options
author | Roxie Linden <roxie@lindenlab.com> | 2010-05-19 01:15:15 -0700 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2010-05-19 01:15:15 -0700 |
commit | 1f02c1dd32cb5ebb2eb6e9186d1f62710ceb09cf (patch) | |
tree | 5cd653e8eca637f70a6820df0569d587d51eb606 /indra/newview/llstartup.cpp | |
parent | 61cb3d31137f30f3766dbe3c22d700fbdf517d80 (diff) |
DEV-50239 - windows 2.0 viewer using 'ruth' as default avatar on SLE grids
The problem, llstartup was parsing the login response indicating the
newuser-config (which contains the default avs) incorrectly.
The response is returned as a map within an array (<array><map>...</map></array>)
We were parsing it as a simple map.
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r-- | indra/newview/llstartup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index a84bb98a90..0a464b3b6c 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -3041,7 +3041,7 @@ bool process_login_success_response() // Default male and female avatars allowing the user to choose their avatar on first login. // These may be passed up by SLE to allow choice of enterprise avatars instead of the standard // "new ruth." Not to be confused with 'initial-outfit' below - LLSD newuser_config = response["newuser-config"]; + LLSD newuser_config = response["newuser-config"][0]; if(newuser_config.has("DefaultFemaleAvatar")) { gSavedSettings.setString("DefaultFemaleAvatar", newuser_config["DefaultFemaleAvatar"].asString()); |