From fd758cb6c2dded828fdf79a6cf3bf96dd0455fbc Mon Sep 17 00:00:00 2001 From: Armin Weatherwax Date: Mon, 2 Jul 2012 19:38:08 +0200 Subject: [PATCH] fix FIRE-6492 Firestorm doesn't always honor the start location option --- indra/newview/llpanellogin.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 6691f8e897..8ffc7e9b3b 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -484,17 +484,14 @@ void LLPanelLogin::setFields(LLPointer credential) -// -// if(identifier.has("startlocation")){ - LLSLURL slurl = LLSLURL(sInstance->getChild("start_location_combo")->getValue()); - if(LLSLURL::LOCATION != slurl.getType() && identifier.has("startlocation")) - { -// +// +/* if(identifier.has("startlocation")){ llinfos << "Settings startlocation to: " << identifier["startlocation"].asString() << llendl; LLStartUp::setStartSLURL(LLSLURL(identifier["startlocation"].asString())); updateLocationCombo(false); } - +*/ +// sInstance->addFavoritesToStartLocation(); // if the password exists in the credential, set the password field with // a filler to get some stars @@ -640,6 +637,8 @@ void LLPanelLogin::getFields(LLPointer& credential, } } +// +/* switch(LLSLURL(sInstance->getChild("start_location_combo")->getValue()).getType()) { case LLSLURL::HOME_LOCATION: @@ -669,8 +668,9 @@ void LLPanelLogin::getFields(LLPointer& credential, break; } } +*/ +// - credential = gSecAPIHandler->createCredential(credential_name(), identifier, authenticator); remember = sInstance->getChild("remember_check")->getValue(); }