diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-05-16 13:52:40 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-05-16 13:52:40 +0800 |
commit | 6d51e91895a7f2435c46a876410ccc6c63fe8c82 (patch) | |
tree | f2b48ebd99cb414227bf365f47665b8d4baa752b /indra/newview/lldensityctrl.cpp | |
parent | d1b5917bb9c92e4e47eba19b43781e4d1328b1ca (diff) | |
parent | 094dcc07f8c1d90ae723dbe60eddacb90a09eae8 (diff) |
Merge tag '7.1.7-release'
source for viewer 7.1.7.8974243247
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]); } } |