summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterchangeitemthumbnail.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-06-29 02:33:58 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-06-29 12:32:51 +0300
commit7c100d54dda03db62a8d2c8be6a5e02ea9280f9b (patch)
tree4cd1cfd28b8d1efffeaff37496c38977b6fbdfa7 /indra/newview/llfloaterchangeitemthumbnail.cpp
parent8eade6f074bf90ca914d8cb2a8f7cd58bfea7bb0 (diff)
SL-19928 Make thumbnail selection failures more user friendly
Diffstat (limited to 'indra/newview/llfloaterchangeitemthumbnail.cpp')
-rw-r--r--indra/newview/llfloaterchangeitemthumbnail.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llfloaterchangeitemthumbnail.cpp b/indra/newview/llfloaterchangeitemthumbnail.cpp
index 48378cb724..1ad235ac0a 100644
--- a/indra/newview/llfloaterchangeitemthumbnail.cpp
+++ b/indra/newview/llfloaterchangeitemthumbnail.cpp
@@ -710,7 +710,9 @@ void LLFloaterChangeItemThumbnail::showTexturePicker(const LLUUID &thumbnail_id)
texture_floaterp->setLocalTextureEnabled(FALSE);
texture_floaterp->setBakeTextureEnabled(FALSE);
texture_floaterp->setCanApplyImmediately(false);
- texture_floaterp->setCanApply(false, true);
+ texture_floaterp->setCanApply(false, true, false /*Hide 'preview disabled'*/);
+ texture_floaterp->setDimentionsLimits(LLFloaterSimpleSnapshot::THUMBNAIL_SNAPSHOT_DIM_MAX,
+ LLFloaterSimpleSnapshot::THUMBNAIL_SNAPSHOT_DIM_MIN);
addDependentFloater(texture_floaterp);
}