diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-02-26 13:14:06 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-02-26 13:14:06 +0200 |
commit | 8795da7c831c61cfa1cb8c14ebcea7cd6c484e23 (patch) | |
tree | 1ebd9327c87e83e51594af2357839355e70a819e | |
parent | dd656390c3b6cbdfc6e88c8ff3e6a011238b6f6e (diff) |
SL-19108 Only permit 64 to 256 px images for thumbnails #2
-rw-r--r-- | indra/newview/llfloaterchangeitemthumbnail.cpp | 1 | ||||
-rw-r--r-- | indra/newview/llfloatersimplesnapshot.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llfloaterchangeitemthumbnail.cpp b/indra/newview/llfloaterchangeitemthumbnail.cpp index cdb09f4c6c..626265fd4b 100644 --- a/indra/newview/llfloaterchangeitemthumbnail.cpp +++ b/indra/newview/llfloaterchangeitemthumbnail.cpp @@ -499,6 +499,7 @@ bool LLFloaterChangeItemThumbnail::validateAsset(const LLUUID &asset_id) { return false; } + return true; } void LLFloaterChangeItemThumbnail::showTexturePicker(const LLUUID &thumbnail_id) diff --git a/indra/newview/llfloatersimplesnapshot.h b/indra/newview/llfloatersimplesnapshot.h index 7fae5be30a..ad25d0ce76 100644 --- a/indra/newview/llfloatersimplesnapshot.h +++ b/indra/newview/llfloatersimplesnapshot.h @@ -67,8 +67,8 @@ public: class Impl; friend class Impl; - static const S32 LLFloaterSimpleSnapshot::THUMBNAIL_SNAPSHOT_DIM_MAX = 256; - static const S32 LLFloaterSimpleSnapshot::THUMBNAIL_SNAPSHOT_DIM_MIN = 64; + static const S32 LLFloaterSimpleSnapshot::THUMBNAIL_SNAPSHOT_DIM_MAX; + static const S32 LLFloaterSimpleSnapshot::THUMBNAIL_SNAPSHOT_DIM_MIN; private: void onSend(); |