From 28fcc55179546987285fa29bcf194ee1ed0643fd Mon Sep 17 00:00:00 2001
From: Xenhat Hex <me@xenh.at>
Date: Wed, 29 Sep 2021 17:40:04 -0400
Subject: [PATCH] Limit snapshot size to 8K 21:9 until more testing

---
 indra/newview/llviewerwindow.h                            | 2 +-
 .../newview/skins/default/xui/en/panel_snapshot_local.xml | 8 --------
 2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/indra/newview/llviewerwindow.h b/indra/newview/llviewerwindow.h
index c0a0e62c66e..5a39cb49115 100644
--- a/indra/newview/llviewerwindow.h
+++ b/indra/newview/llviewerwindow.h
@@ -136,7 +136,7 @@ class LLPickInfo
 
 };
 
-static const U32 MAX_SNAPSHOT_IMAGE_SIZE = 15360; // Anything bigger would require TBs of (video) RAM and 64bit code
+static const U32 MAX_SNAPSHOT_IMAGE_SIZE = 10240; // max snapshot image size
 
 class LLViewerWindow final : public LLWindowCallbacks
 {
diff --git a/indra/newview/skins/default/xui/en/panel_snapshot_local.xml b/indra/newview/skins/default/xui/en/panel_snapshot_local.xml
index aa6c6b04250..0dfb9f97631 100644
--- a/indra/newview/skins/default/xui/en/panel_snapshot_local.xml
+++ b/indra/newview/skins/default/xui/en/panel_snapshot_local.xml
@@ -126,14 +126,6 @@
          label="8K (21:9)"
          name="10240x4320"
          value="[i10240,i4320]" />
-        <combo_box.item
-         label="Max size (1:1)"
-         name="15360x15360"
-         value="[i15360,i15360]" />
-        <combo_box.item
-         label="Max size (16:9)"
-         name="15360x8640"
-         value="[i15360,i8640]" />
         <combo_box.item
          label="Custom"
          name="Custom"
-- 
GitLab