diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-10-17 23:35:35 +0300 | 
|---|---|---|
| committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-10-17 23:35:35 +0300 | 
| commit | 7d758532616095cdfd2536b3dd2ff48ae2a2d270 (patch) | |
| tree | 41d8d015ecef52b2706c298a91c99d204bda298d /indra/newview | |
| parent | 4c7920778fa3ea4b9ea9fe3945eb57d250a0527f (diff) | |
SL-20461 Don't display 'sky converted to HDR' message when opening water
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llfloaterfixedenvironment.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/indra/newview/llfloaterfixedenvironment.cpp b/indra/newview/llfloaterfixedenvironment.cpp index bb6584302d..8e28fd6234 100644 --- a/indra/newview/llfloaterfixedenvironment.cpp +++ b/indra/newview/llfloaterfixedenvironment.cpp @@ -184,7 +184,9 @@ void LLFloaterFixedEnvironment::setEditSettingsAndUpdate(const LLSettingsBase::p      LLEnvironment::instance().updateEnvironment(LLEnvironment::TRANSITION_INSTANT);      // teach user about HDR settings -    if (mSettings && ((LLSettingsSky*)mSettings.get())->canAutoAdjust()) +    if (mSettings +        && mSettings->getSettingsType() == "sky" +        && ((LLSettingsSky*)mSettings.get())->canAutoAdjust())      {          LLNotificationsUtil::add("AutoAdjustHDRSky");      } | 
