summaryrefslogtreecommitdiff
path: root/indra/llimage/llimagedimensionsinfo.h
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-08-21 23:55:00 +0300
committerGitHub <noreply@github.com>2023-08-21 23:55:00 +0300
commit0b6c9c50c3049eb75a0305376d067bf8982e184d (patch)
treea8e3497057e5b170e3a9ca22c9161822c149cbd6 /indra/llimage/llimagedimensionsinfo.h
parentb07a9cfec36cdcad604b8aa775ed282793116a4d (diff)
SL-20173 show warning notification when trying to add invalid files as local texture
Diffstat (limited to 'indra/llimage/llimagedimensionsinfo.h')
-rw-r--r--indra/llimage/llimagedimensionsinfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llimage/llimagedimensionsinfo.h b/indra/llimage/llimagedimensionsinfo.h
index 8f716c5d02..ade283bb85 100644
--- a/indra/llimage/llimagedimensionsinfo.h
+++ b/indra/llimage/llimagedimensionsinfo.h
@@ -55,6 +55,12 @@ public:
{
return mLastError;
}
+
+ const std::string& getWarningName()
+ {
+ return mWarning;
+ }
+
protected:
void clean()
@@ -129,6 +135,7 @@ protected:
std::string mSrcFilename;
std::string mLastError;
+ std::string mWarning;
U8* mData;