Rev changed grid management incompatibly -.-

This commit is contained in:
Siana Gearz
2011-10-15 04:46:35 +02:00
parent ca757ff1b2
commit 0130423d93
3 changed files with 15 additions and 11 deletions

View File

@@ -942,7 +942,6 @@ void LLPanelLogin::loadLoginPage()
}
// Grid
oStr << "&grid=" << LLWeb::curlEscape(LLViewerLogin::getInstance()->getGridLabel());
if (gHippoGridManager->getConnectedGrid()->isSecondLife()) {
// find second life grid from login URI
@@ -960,6 +959,11 @@ void LLPanelLogin::loadLoginPage()
}
}
}
else
{
oStr << "&grid=" << LLWeb::curlEscape(LLViewerLogin::getInstance()->getGridLabel());
}
gViewerWindow->setMenuBackgroundColor(false, !LLViewerLogin::getInstance()->isInProductionGrid());
gLoginMenuBarView->setBackgroundColor(gMenuBarView->getBackgroundColor());