FIRE-11586: More hammering on SLURLs; Restore grid manager workaround (the actual start SLURL is set in LLStartup in idle_startup() with state = STATE_AUDIO_INIT)
parent
b067cf3422
commit
0741b35938
|
|
@ -144,6 +144,7 @@ LLSLURL::LLSLURL(const std::string& slurl)
|
|||
// default to current
|
||||
std::string default_grid = LLGridManager::getInstance()->getGrid();
|
||||
mGrid = default_grid;
|
||||
LL_DEBUGS("SLURL") << "default grid: " << default_grid << LL_ENDL;
|
||||
|
||||
if(slurl_uri.scheme() == LLSLURL::SLURL_SECONDLIFE_SCHEME)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3125,11 +3125,14 @@ bool LLAppViewer::initConfiguration()
|
|||
if(! CmdLineLoginLocation.empty())
|
||||
{
|
||||
start_slurl = CmdLineLoginLocation;
|
||||
LLStartUp::setStartSLURL(start_slurl);
|
||||
if(start_slurl.getType() == LLSLURL::LOCATION)
|
||||
{
|
||||
LLGridManager::getInstance()->setGridChoice(start_slurl.getGrid());
|
||||
}
|
||||
// <FS:Ansariel> FIRE-11586: Restore grid manager workaround (grid is still empty here!)
|
||||
//LLStartUp::setStartSLURL(start_slurl);
|
||||
//if(start_slurl.getType() == LLSLURL::LOCATION)
|
||||
//{
|
||||
// LLGridManager::getInstance()->setGridChoice(start_slurl.getGrid());
|
||||
// }
|
||||
LLStartUp::setStartSLURLString(CmdLineLoginLocation);
|
||||
// </FS:Ansariel>
|
||||
}
|
||||
|
||||
// <FS:TT> Hacking to save the skin and theme for future use.
|
||||
|
|
|
|||
Loading…
Reference in New Issue