From f4d9d23927368884ffbd859fb4a9e8886ff5004a Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> Date: Fri, 4 Sep 2026 18:18:50 +0300 Subject: #6223 360 Snapshot should make an inworld sound --- indra/llplugin/llpluginclassmedia.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'indra/llplugin/llpluginclassmedia.cpp') diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp index 2269d7adc8..540bd77b7d 100644 --- a/indra/llplugin/llpluginclassmedia.cpp +++ b/indra/llplugin/llpluginclassmedia.cpp @@ -1309,8 +1309,16 @@ void LLPluginClassMedia::receivePluginMessage(const LLPluginMessage &message) else if (message_name == "file_download") { mFileDownloadFilename = message.getValue("filename"); + mFileDownloadProgressPercent = 0; + mFileDownloadProgressComplete = false; mediaEvent(LLPluginClassMediaOwner::MEDIA_EVENT_FILE_DOWNLOAD); } + else if (message_name == "file_download_progress") + { + mFileDownloadProgressPercent = message.getValueS32("percent"); + mFileDownloadProgressComplete = message.getValueBoolean("complete"); + mediaEvent(LLPluginClassMediaOwner::MEDIA_EVENT_FILE_DOWNLOAD_PROGRESS); + } else if(message_name == "debug_message") { mDebugMessageText = message.getValue("message_text"); -- cgit v1.3