diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-09-04 16:25:43 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-09-04 16:25:43 -0400 |
commit | d72ddddcaf07a1b9c7fb479e2432cf1bfa286a94 (patch) | |
tree | e86fe98bc9c46b4915d24684b07b7a8721465d6c /indra/newview/llviewerstats.cpp | |
parent | a980a8f30870d35a5a45cbf52169f7bf35cf95ce (diff) | |
parent | 487973d3f0ee9b8583b3d977ca6a405cba5fe518 (diff) |
Merge branch 'release/luau-scripting' into lua-merge
Diffstat (limited to 'indra/newview/llviewerstats.cpp')
-rw-r--r-- | indra/newview/llviewerstats.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewerstats.cpp b/indra/newview/llviewerstats.cpp index 3499c7eb7d..5218552314 100644 --- a/indra/newview/llviewerstats.cpp +++ b/indra/newview/llviewerstats.cpp @@ -66,6 +66,7 @@ #include "llinventorymodel.h" #include "lluiusage.h" #include "lltranslate.h" +#include "llluamanager.h" // "Minimal Vulkan" to get max API Version @@ -673,6 +674,10 @@ void send_viewer_stats(bool include_preferences) system["shader_level"] = shader_level; + LLSD &scripts = body["scripts"]; + scripts["lua_scripts"] = LLLUAmanager::sScriptCount; + scripts["lua_auto_scripts"] = LLLUAmanager::sAutorunScriptCount; + LLSD &download = body["downloads"]; download["world_kbytes"] = F64Kilobytes(gTotalWorldData).value(); |