Revert "Fix broken 360 snapshot saves"

This reverts commit 692f5d424e.
meow-7.2.2
Ansariel 2022-03-03 22:42:10 +01:00
parent 1df9d1ec7f
commit 60314ad80e
2 changed files with 4 additions and 10 deletions

View File

@ -1182,10 +1182,6 @@ void LLMediaCtrl::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event)
}
else
{
// <FS:Ansariel> Fix broken 360 snapshot save
const std::vector<std::string> empty_response;
self->sendPickFileResponse(empty_response);
// </FS:Ansariel>
LLNotificationsUtil::add("MediaFileDownloadUnsupported");
}
};

View File

@ -3261,13 +3261,11 @@ void LLViewerMediaImpl::handleMediaEvent(LLPluginClassMedia* plugin, LLPluginCla
case LLViewerMediaObserver::MEDIA_EVENT_FILE_DOWNLOAD:
{
// <FS:Ansariel> 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<std::string> empty_response;
//plugin->sendPickFileResponse(empty_response);
// </FS:Ansariel>
//unblock media plugin
const std::vector<std::string> empty_response;
plugin->sendPickFileResponse(empty_response);
}
break;