diff options
| author | Mike <contact@mikelittman.me> | 2026-10-23 09:49:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-23 21:49:49 +0800 |
| commit | f378dc9d6b8f74d34b4dfd3b65cf564c689bdb95 (patch) | |
| tree | 2043cee9aec99862882a0d5cb2423ad1ccfb02ea /indra/newview/llimview.cpp | |
| parent | adc157b9572574f623e0d7c497ff204da5050a2e (diff) | |
Add a loopback MCP server for the running viewer (#44)
The server is off by default and listens on 127.0.0.1. It can see and
act in the logged-in session, including inventory, object contents,
script editing, mesh and material upload, and animated mesh.
Diffstat (limited to 'indra/newview/llimview.cpp')
| -rw-r--r-- | indra/newview/llimview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index 8b76ea9db0..ec5fb06a40 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -29,6 +29,7 @@ #include "llviewerprecompiledheaders.h" #include "llimview.h" +#include "llviewermcp.h" #include "llavatarnamecache.h" // IDEVO #include "llchatservicehistory.h" @@ -3260,6 +3261,7 @@ void LLIMMgr::addMessage( std::string_view display_name, const LLSD& original_text) { + LLViewerMCP::noteChat("im", from, target_id, msg); LLUUID other_participant_id = target_id; std::string message_display_name = (display_name.empty()) ? from : std::string(display_name); |
