diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-02-03 02:57:29 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-02-03 02:57:29 +0200 |
commit | 26e03f0c65c0b36705e468687553bbf54cca77be (patch) | |
tree | a40acaba2f88c5f7471f6d84c38fbb7dce4f1efa /indra/newview/llvovolume.cpp | |
parent | 6987dcfd62284bd58bbfff810198b7aed02c28f4 (diff) |
SL-16755 Show alert that download is not supported instead of failing silently
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r-- | indra/newview/llvovolume.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index ca5305b169..dd4c326721 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -71,6 +71,8 @@ #include "llmediaentry.h" #include "llmediadataclient.h" #include "llmeshrepository.h" +#include "llnotifications.h" +#include "llnotificationsutil.h" #include "llagent.h" #include "llviewermediafocus.h" #include "lldatapacker.h" @@ -2960,6 +2962,10 @@ void LLVOVolume::mediaEvent(LLViewerMediaImpl *impl, LLPluginClassMedia* plugin, } } break; + + case LLViewerMediaObserver::MEDIA_EVENT_FILE_DOWNLOAD: + LLNotificationsUtil::add("MediaFileDownloadUnsupported"); + break; default: break; |