summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersimplesnapshot.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-02-25 23:08:38 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-02-25 23:08:38 +0200
commitdd656390c3b6cbdfc6e88c8ff3e6a011238b6f6e (patch)
tree96a918a5f4bc07f445d122a63bb8f56314359cef /indra/newview/llfloatersimplesnapshot.h
parent2b56570c6867dc39aa4c8a19d2657ffed6c596b2 (diff)
SL-19108 Only permit 64 to 256 px images for thumbnails
Diffstat (limited to 'indra/newview/llfloatersimplesnapshot.h')
-rw-r--r--indra/newview/llfloatersimplesnapshot.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llfloatersimplesnapshot.h b/indra/newview/llfloatersimplesnapshot.h
index 1b51325afc..7fae5be30a 100644
--- a/indra/newview/llfloatersimplesnapshot.h
+++ b/indra/newview/llfloatersimplesnapshot.h
@@ -67,6 +67,9 @@ public:
class Impl;
friend class Impl;
+ static const S32 LLFloaterSimpleSnapshot::THUMBNAIL_SNAPSHOT_DIM_MAX = 256;
+ static const S32 LLFloaterSimpleSnapshot::THUMBNAIL_SNAPSHOT_DIM_MIN = 64;
+
private:
void onSend();
void onCancel();