Merge pull request #2422 from secondlife/brad/2395-fix-start-location
Fix start location dropping coordinates on loginmeow-7.2.2
commit
e5fd6854ae
|
|
@ -602,13 +602,14 @@ std::string construct_start_string()
|
|||
{
|
||||
// a startup URL was specified
|
||||
LLVector3 position = start_slurl.getPosition();
|
||||
std::string unescaped_start =
|
||||
// NOTE - do not xml escape here, will get escaped properly later by LLSD::asXMLRPCValue()
|
||||
// see secondlife/viewer#2395
|
||||
start =
|
||||
STRINGIZE( "uri:"
|
||||
<< start_slurl.getRegion() << "&"
|
||||
<< position[VX] << "&"
|
||||
<< position[VY] << "&"
|
||||
<< position[VZ]);
|
||||
start = LLStringFn::xml_encode(unescaped_start, true);
|
||||
break;
|
||||
}
|
||||
case LLSLURL::HOME_LOCATION:
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ void LLLogin::Impl::connect(const std::string& uri, const LLSD& login_params)
|
|||
// Launch a coroutine with our login_() method. Run the coroutine until
|
||||
// its first wait; at that point, return here.
|
||||
std::string coroname =
|
||||
LLCoros::instance().launch("LLLogin::Impl::login_", [&]() { loginCoro(uri, login_params); });
|
||||
LLCoros::instance().launch("LLLogin::Impl::login_", [=]() { loginCoro(uri, login_params); });
|
||||
|
||||
LL_DEBUGS("LLLogin") << " connected with uri '" << uri << "', login_params " << login_params << LL_ENDL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue