aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterwindlight.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterwindlight.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloaterwindlight.cpp b/linden/indra/newview/llfloaterwindlight.cpp
index 37cd4ef..4b0dd04 100644
--- a/linden/indra/newview/llfloaterwindlight.cpp
+++ b/linden/indra/newview/llfloaterwindlight.cpp
@@ -317,6 +317,15 @@ void LLFloaterWindLight::syncMenu()
317 LLWLParamSet& currentParams = param_mgr->mCurParams; 317 LLWLParamSet& currentParams = param_mgr->mCurParams;
318 //std::map<std::string, LLVector4> & currentParams = param_mgr->mCurParams.mParamValues; 318 //std::map<std::string, LLVector4> & currentParams = param_mgr->mCurParams.mParamValues;
319 319
320// [RLVa:KB] - Checked: 2009-07-10 (RLVa-1.0.0g)
321 // Fixes LL "bug" (preset name isn't kept synchronized)
322 LLComboBox* comboBox = getChild<LLComboBox>("WLPresetsCombo");
323 if (comboBox->getSelectedItemLabel() != currentParams.mName)
324 {
325 comboBox->setSimple(currentParams.mName);
326 }
327// [/RLVa:KB]
328
320 // blue horizon 329 // blue horizon
321 param_mgr->mBlueHorizon = currentParams.getVector(param_mgr->mBlueHorizon.mName, err); 330 param_mgr->mBlueHorizon = currentParams.getVector(param_mgr->mBlueHorizon.mName, err);
322 childSetValue("WLBlueHorizonR", param_mgr->mBlueHorizon.r / 2.0); 331 childSetValue("WLBlueHorizonR", param_mgr->mBlueHorizon.r / 2.0);