From 0b6c9c50c3049eb75a0305376d067bf8982e184d Mon Sep 17 00:00:00 2001 From: Maxim Nikolenko Date: Mon, 21 Aug 2023 23:55:00 +0300 Subject: SL-20173 show warning notification when trying to add invalid files as local texture --- indra/llimage/llimagedimensionsinfo.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'indra/llimage/llimagedimensionsinfo.h') 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; -- cgit v1.2.3