From 26e03f0c65c0b36705e468687553bbf54cca77be Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Thu, 3 Feb 2022 02:57:29 +0200 Subject: SL-16755 Show alert that download is not supported instead of failing silently --- indra/newview/llvovolume.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'indra/newview/llvovolume.cpp') 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; -- cgit v1.2.3