diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-09-09 00:00:22 +0300 |
---|---|---|
committer | akleshchev <117672381+akleshchev@users.noreply.github.com> | 2023-09-10 21:49:00 +0300 |
commit | cfb69846f1e8309ed86d4a18eb26a889f6dbaccc (patch) | |
tree | cb5507d1d5a8600f312d3b25d404fd2c50384050 /indra/newview/llfloaterchangeitemthumbnail.h | |
parent | 46425b2e49377acc186e41c67a793f7f6b7f583b (diff) |
SL-20261 Allow and resize existing textures as necessary for thumbnails
Diffstat (limited to 'indra/newview/llfloaterchangeitemthumbnail.h')
-rw-r--r-- | indra/newview/llfloaterchangeitemthumbnail.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llfloaterchangeitemthumbnail.h b/indra/newview/llfloaterchangeitemthumbnail.h index 02f934337b..a91e9b8ee9 100644 --- a/indra/newview/llfloaterchangeitemthumbnail.h +++ b/indra/newview/llfloaterchangeitemthumbnail.h @@ -83,13 +83,20 @@ private: static void onRemovalConfirmation(const LLSD& notification, const LLSD& response, LLHandle<LLFloater> handle); void assignAndValidateAsset(const LLUUID &asset_id, bool silent = false); - static void onImageLoaded(BOOL success, + static void onImageDataLoaded(BOOL success, LLViewerFetchedTexture *src_vi, LLImageRaw* src, LLImageRaw* aux_src, S32 discard_level, BOOL final, void* userdata); + static void onFullImageLoaded(BOOL success, + LLViewerFetchedTexture* src_vi, + LLImageRaw* src, + LLImageRaw* aux_src, + S32 discard_level, + BOOL final, + void* userdata); void showTexturePicker(const LLUUID &thumbnail_id); void onTexturePickerCommit(); |