From 46bc94074d59a898e94eefd73363aed2d27f3e05 Mon Sep 17 00:00:00 2001
From: RunitaiLinden <davep@lindenlab.com>
Date: Fri, 19 Jan 2024 10:22:52 -0600
Subject: [PATCH] https://github.com/secondlife/viewer-issues/issues/21 Just
 use existing settings to block uploads larger than 1024.

---
 indra/newview/app_settings/settings.xml | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 76e635744e4..4a95cb1ed27 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -9405,17 +9405,6 @@
     <string>U32</string>
     <key>Value</key>
     <integer>16</integer>
-  </map>
-  <key>RenderMaxTextureResolution</key>
-  <map>
-    <key>Comment</key>
-    <string>Maximum texture resolution.</string>
-    <key>Persist</key>
-    <integer>1</integer>
-    <key>Type</key>
-    <string>U32</string>
-    <key>Value</key>
-    <integer>1024</integer>
   </map>
     <key>RenderDebugTextureBind</key>
     <map>
@@ -15700,7 +15689,7 @@
       <key>Type</key>
       <string>S32</string>
       <key>Value</key>
-      <integer>2048</integer>
+      <integer>1024</integer>
     </map>
     <key>max_texture_dimension_Y</key>
     <map>
@@ -15711,7 +15700,7 @@
       <key>Type</key>
       <string>S32</string>
       <key>Value</key>
-      <integer>2048</integer>
+      <integer>1024</integer>
     </map>
     <!-- End of back compatibility settings -->
     <key>teleport_offer_invitation_max_length</key>
-- 
GitLab