Fix broken 360 snapshot saves
parent
4525ae3901
commit
692f5d424e
|
|
@ -1182,6 +1182,10 @@ 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");
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -3261,11 +3261,13 @@ void LLViewerMediaImpl::handleMediaEvent(LLPluginClassMedia* plugin, LLPluginCla
|
|||
|
||||
case LLViewerMediaObserver::MEDIA_EVENT_FILE_DOWNLOAD:
|
||||
{
|
||||
LL_DEBUGS("Media") << "Media event - file download requested - filename is " << plugin->getFileDownloadFilename() << LL_ENDL;
|
||||
// <FS:Ansariel> Fix broken 360 snapshot save
|
||||
//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);
|
||||
////unblock media plugin
|
||||
//const std::vector<std::string> empty_response;
|
||||
//plugin->sendPickFileResponse(empty_response);
|
||||
// </FS:Ansariel>
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue