summaryrefslogtreecommitdiff
path: root/indra/newview/llsettingsvo.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-01-02 17:31:23 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-01-02 20:55:17 +0200
commita27515748fd1fd14a12ffc7f12b415decf6099de (patch)
treec841cdd4d3aa40b3520ebb37e0d94fbf792f4530 /indra/newview/llsettingsvo.cpp
parentc88a7d1d274b090f5ca7484a8b1f3ccc36aa1980 (diff)
#3311 RenderSkyAutoAdjustLegacy does not engage tonemapper
Diffstat (limited to 'indra/newview/llsettingsvo.cpp')
-rw-r--r--indra/newview/llsettingsvo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llsettingsvo.cpp b/indra/newview/llsettingsvo.cpp
index cf96072ae2..6f9d4a24bc 100644
--- a/indra/newview/llsettingsvo.cpp
+++ b/indra/newview/llsettingsvo.cpp
@@ -807,7 +807,7 @@ void LLSettingsVOSky::applySpecial(void *ptarget, bool force)
static LLCachedControl<F32> tonemap_mix_setting(gSavedSettings, "RenderTonemapMix", 1.f);
// sky is a "classic" sky following pre SL 7.0 shading
- bool classic_mode = psky->canAutoAdjust();
+ bool classic_mode = psky->canAutoAdjust() && !should_auto_adjust();
if (!classic_mode)
{