diff options
| author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-05-13 17:06:17 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-13 17:06:17 +0300 |
| commit | 9013267da2269a9bd9683862b7449db1b1093afc (patch) | |
| tree | 336172dfd6468e8bafa1d9c4a229624e85ffecfb /indra/newview/lldensityctrl.cpp | |
| parent | 0cb2c511bc2a0f54eb7b3a4c2988d7ebec96e3be (diff) | |
| parent | 38c2a5bde985a6a8a96d912d432f8bdf7e5b60be (diff) | |
Merge pull request #1373 from secondlife/marchcat/x-ws-merge
Diffstat (limited to 'indra/newview/lldensityctrl.cpp')
| -rw-r--r-- | indra/newview/lldensityctrl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/lldensityctrl.cpp b/indra/newview/lldensityctrl.cpp index 298a309e7c..3997227ef0 100644 --- a/indra/newview/lldensityctrl.cpp +++ b/indra/newview/lldensityctrl.cpp @@ -39,7 +39,7 @@ const std::string LLDensityCtrl::DENSITY_MIE("density_mie"); const std::string LLDensityCtrl::DENSITY_ABSORPTION("density_absorption"); namespace -{ +{ const std::string FIELD_SKY_DENSITY_PROFILE_EXPONENTIAL("level_exponential"); const std::string FIELD_SKY_DENSITY_PROFILE_EXPONENTIAL_SCALE("exponential_scale"); const std::string FIELD_SKY_DENSITY_PROFILE_LINEAR("level_linear"); @@ -151,7 +151,7 @@ void LLDensityCtrl::refresh() getChild<LLSliderCtrl>(FIELD_SKY_DENSITY_MAX_ALTITUDE)->setValue(config[LLSettingsSky::SETTING_DENSITY_PROFILE_WIDTH]); if (mProfileType == Mie) - { + { getChild<LLSliderCtrl>(FIELD_SKY_DENSITY_ANISO_FACTOR)->setValue(config[LLSettingsSky::SETTING_MIE_ANISOTROPY_FACTOR]); } } |
