summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-03-02 23:41:13 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-03-02 23:45:26 +0200
commit8116078c7273bc0f52424ede96563a4418155508 (patch)
treed039e941739ea7e2048e5a46d42bfb485cef3a67 /indra/newview/llvovolume.cpp
parent46320516199807bff787182d0693a57d3475b767 (diff)
SL-16965 360 Snapshot tool fails to save file to computer
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 4bfe521f1f..d75a4fd42d 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -2964,8 +2964,15 @@ void LLVOVolume::mediaEvent(LLViewerMediaImpl *impl, LLPluginClassMedia* plugin,
break;
case LLViewerMediaObserver::MEDIA_EVENT_FILE_DOWNLOAD:
+ {
+ // Media might be blocked, waiting for a file,
+ // send an empty response to unblock it
+ const std::vector<std::string> empty_response;
+ plugin->sendPickFileResponse(empty_response);
+
LLNotificationsUtil::add("MediaFileDownloadUnsupported");
- break;
+ }
+ break;
default:
break;