diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-03-28 11:05:36 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-03-28 11:05:36 +0800 |
commit | 1a4517e5af8f43433fc2547658615dce4073d9a3 (patch) | |
tree | 7a2dd9d392e7651674f17e342b44461ab47e5327 /indra/newview/llfloatereditextdaycycle.cpp | |
parent | 9f20741e02491e009090211ac29bd37c31369378 (diff) | |
parent | c810a409e22b90ebacb9946f8a4084ef0ad78d64 (diff) |
Merge tag '7.1.4-release'
source for viewer 7.1.4.8149792635
Diffstat (limited to 'indra/newview/llfloatereditextdaycycle.cpp')
-rw-r--r-- | indra/newview/llfloatereditextdaycycle.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llfloatereditextdaycycle.cpp b/indra/newview/llfloatereditextdaycycle.cpp index bb47feaa95..4e764674e5 100644 --- a/indra/newview/llfloatereditextdaycycle.cpp +++ b/indra/newview/llfloatereditextdaycycle.cpp @@ -1724,7 +1724,9 @@ void LLFloaterEditExtDayCycle::showHDRNotification(const LLSettingsDay::ptr_t &p while (iter != end) { LLSettingsSky::ptr_t sky = std::static_pointer_cast<LLSettingsSky>(iter->second); - if (sky && sky->canAutoAdjust()) + if (sky + && sky->canAutoAdjust() + && sky->getReflectionProbeAmbiance(true) != 0.f) { LLNotificationsUtil::add("AutoAdjustHDRSky"); return; |