From 60314ad80e2fbbc4aae514d09deb56c5c11c1026 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Thu, 3 Mar 2022 22:42:10 +0100 Subject: [PATCH] Revert "Fix broken 360 snapshot saves" This reverts commit 692f5d424e7ccf486338df67c40f84ba47305b35. --- indra/newview/llmediactrl.cpp | 4 ---- indra/newview/llviewermedia.cpp | 10 ++++------ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/indra/newview/llmediactrl.cpp b/indra/newview/llmediactrl.cpp index b5296d4f08..4a5b6243f3 100644 --- a/indra/newview/llmediactrl.cpp +++ b/indra/newview/llmediactrl.cpp @@ -1182,10 +1182,6 @@ void LLMediaCtrl::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event) } else { - // Fix broken 360 snapshot save - const std::vector empty_response; - self->sendPickFileResponse(empty_response); - // LLNotificationsUtil::add("MediaFileDownloadUnsupported"); } }; diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index 31acf93ac5..2217a10d8e 100644 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -3261,13 +3261,11 @@ void LLViewerMediaImpl::handleMediaEvent(LLPluginClassMedia* plugin, LLPluginCla case LLViewerMediaObserver::MEDIA_EVENT_FILE_DOWNLOAD: { - // Fix broken 360 snapshot save - //LL_DEBUGS("Media") << "Media event - file download requested - filename is " << plugin->getFileDownloadFilename() << LL_ENDL; + LL_DEBUGS("Media") << "Media event - file download requested - filename is " << plugin->getFileDownloadFilename() << LL_ENDL; - ////unblock media plugin - //const std::vector empty_response; - //plugin->sendPickFileResponse(empty_response); - // + //unblock media plugin + const std::vector empty_response; + plugin->sendPickFileResponse(empty_response); } break;