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(); }