Merge branch 'master' of git://github.com/TighMacFanatic/SingularityViewer
This commit is contained in:
@@ -1070,5 +1070,13 @@ void LLFloaterWindLight::populateSkyPresetsList()
|
|||||||
mSkyPresetCombo->add(*it);
|
mSkyPresetCombo->add(*it);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LLWLParamManager::preset_name_list_t user_presets;
|
||||||
|
LLWLParamManager::getInstance()->getUserPresetNames(user_presets);
|
||||||
|
|
||||||
|
for (LLWLParamManager::preset_name_list_t::const_iterator it = user_presets.begin(); it != user_presets.end(); ++it)
|
||||||
|
{
|
||||||
|
mSkyPresetCombo->add(*it);
|
||||||
|
}
|
||||||
|
|
||||||
mSkyPresetCombo->selectByValue(LLEnvManagerNew::instance().getSkyPresetName());
|
mSkyPresetCombo->selectByValue(LLEnvManagerNew::instance().getSkyPresetName());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user