summaryrefslogtreecommitdiff
path: root/indra/llplugin/llpluginclassmedia.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2026-10-13 14:34:41 -0400
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2026-10-13 14:34:41 -0400
commit181fd93f799e15a6ff924362c4a05be8db3639af (patch)
treef3a3a530b80b1b17e71c7b6d7fa8b981b52c61f9 /indra/llplugin/llpluginclassmedia.cpp
parent8ba5d1a8adc47c21b23d9482e72de9517f9a98fc (diff)
parent083db782e29434ab17963fcac76b0ec3cd93b9d0 (diff)
Merge remote-tracking branch 'origin/release/26.5' into geenz/main-26.5
Diffstat (limited to 'indra/llplugin/llpluginclassmedia.cpp')
-rw-r--r--indra/llplugin/llpluginclassmedia.cpp8
1 files changed, 8 insertions, 0 deletions
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");