fix llpanellogin.cpp doesn't compile without opensim support

Armin Weatherwax 2012-06-25 10:27:10 +02:00
parent f503dcf168
commit 64792e4eb8
1 changed files with 2 additions and 0 deletions

View File

@ -1135,9 +1135,11 @@ void LLPanelLogin::updateServerCombo()
{
return;
}
#ifdef HAS_OPENSIM_SUPPORT // <FS:AW optional opensim support>
// <FS:AW grid management>
LLGridManager::getInstance()->addGridListChangedCallback(&LLPanelLogin::gridListChanged);
// </FS:AW grid management>
#endif // HAS_OPENSIM_SUPPORT // <FS:AW optional opensim support>
// We add all of the possible values, sorted, and then add a bar and the current value at the top
LLComboBox* server_choice_combo = sInstance->getChild<LLComboBox>("server_combo");
server_choice_combo->removeall();