SL-19108 Only permit 64 to 256 px images for thumbnails #2

master
Andrey Kleshchev 2023-02-26 13:14:06 +02:00
parent dd656390c3
commit 8795da7c83
2 changed files with 3 additions and 2 deletions

View File

@ -499,6 +499,7 @@ bool LLFloaterChangeItemThumbnail::validateAsset(const LLUUID &asset_id)
{
return false;
}
return true;
}
void LLFloaterChangeItemThumbnail::showTexturePicker(const LLUUID &thumbnail_id)

View File

@ -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();