From b132e2eea87b7c58a92057244ab681d3466cbafe Mon Sep 17 00:00:00 2001
From: RunitaiLinden <davep@lindenlab.com>
Date: Thu, 15 Jun 2023 16:55:18 -0500
Subject: [PATCH] SL-19878 Remove auto-adjust legacy skies checkbox.

---
 indra/newview/app_settings/settings.xml            |  2 +-
 .../en/floater_preferences_graphics_advanced.xml   | 14 --------------
 2 files changed, 1 insertion(+), 15 deletions(-)

diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index cb4e5ec7f3f..2b2a2d9d1b6 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -10604,7 +10604,7 @@
   <key>RenderSkyAutoAdjustLegacy</key>
   <map>
     <key>Comment</key>
-    <string>If true, automatically adjust legacy skies (those without a probe ambiance value) to take advantage of probes and HDR.</string>
+    <string>If true, automatically adjust legacy skies (those without a probe ambiance value) to take advantage of probes and HDR.  This is the "opt-out" button for HDR and tonemapping when coupled with a sky setting that predates PBR.</string>
     <key>Persist</key>
     <integer>1</integer>
     <key>Type</key>
diff --git a/indra/newview/skins/default/xui/en/floater_preferences_graphics_advanced.xml b/indra/newview/skins/default/xui/en/floater_preferences_graphics_advanced.xml
index c1a94a2128c..fd806739031 100644
--- a/indra/newview/skins/default/xui/en/floater_preferences_graphics_advanced.xml
+++ b/indra/newview/skins/default/xui/en/floater_preferences_graphics_advanced.xml
@@ -600,20 +600,6 @@
       function="Pref.RenderOptionUpdate" />
   </check_box>
 
-  <check_box
-  control_name="RenderSkyAutoAdjustLegacy"
-  height="16"
-  initial_value="true"
-  label="Auto-adjust Legacy Sky"
-  layout="topleft"
-  left="420"
-  name="AutoAdjustLegacySky"
-  top_delta="16"
-  width="240">
-    <check_box.commit_callback
-      function="Pref.RenderOptionUpdate" />
-  </check_box>
-
   <check_box
     control_name="RenderDepthOfField"
     height="16"
-- 
GitLab