summaryrefslogtreecommitdiff
path: root/indra/newview/llthumbnailctrl.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-03-31 21:18:50 +0300
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-03-31 21:18:50 +0300
commit29c5bf19f706655605bd3588e0249dbd5fd52179 (patch)
treea0a58f23221a3e79f0e323ad86466cc181700784 /indra/newview/llthumbnailctrl.cpp
parent126bfa4877303b47abbc99f09c09a931c20cbd3b (diff)
SL-19379 WIP show fallback image with original size
Diffstat (limited to 'indra/newview/llthumbnailctrl.cpp')
-rw-r--r--indra/newview/llthumbnailctrl.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llthumbnailctrl.cpp b/indra/newview/llthumbnailctrl.cpp
index 1b054b4c27..340dba3717 100644
--- a/indra/newview/llthumbnailctrl.cpp
+++ b/indra/newview/llthumbnailctrl.cpp
@@ -170,6 +170,13 @@ void LLThumbnailCtrl::draw()
LLUICtrl::draw();
}
+void LLThumbnailCtrl::clearTexture()
+{
+ mImageAssetID = LLUUID::null;
+ mTexturep = nullptr;
+ mImagep = nullptr;
+}
+
// virtual
// value might be a string or a UUID
void LLThumbnailCtrl::setValue(const LLSD& value)