From f378dc9d6b8f74d34b4dfd3b65cf564c689bdb95 Mon Sep 17 00:00:00 2001 From: Mike Date: Fri, 23 Oct 2026 09:49:49 -0400 Subject: 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. --- indra/newview/llfloaterscriptdebug.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'indra/newview/llfloaterscriptdebug.cpp') diff --git a/indra/newview/llfloaterscriptdebug.cpp b/indra/newview/llfloaterscriptdebug.cpp index 49cb5d34ff..c2d611235f 100644 --- a/indra/newview/llfloaterscriptdebug.cpp +++ b/indra/newview/llfloaterscriptdebug.cpp @@ -42,6 +42,7 @@ #include "llviewercontrol.h" #include "llviewerobjectlist.h" #include "llviewertexturelist.h" +#include "llviewermcp.h" // // Statics @@ -127,6 +128,8 @@ LLFloater* LLFloaterScriptDebug::addOutputWindow(const LLUUID &object_id) void LLFloaterScriptDebug::addScriptLine(const std::string &utf8mesg, const std::string &user_name, const LLColor4& color, const LLUUID& source_id) { + LLViewerMCP::noteDebug(user_name, source_id, utf8mesg); + LLViewerObject* objectp = gObjectList.findObject(source_id); std::string floater_label; -- cgit v1.3