summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterscriptdebug.cpp
diff options
context:
space:
mode:
authorMike <contact@mikelittman.me>2026-10-23 09:49:49 -0400
committerGitHub <noreply@github.com>2026-10-23 21:49:49 +0800
commitf378dc9d6b8f74d34b4dfd3b65cf564c689bdb95 (patch)
tree2043cee9aec99862882a0d5cb2423ad1ccfb02ea /indra/newview/llfloaterscriptdebug.cpp
parentadc157b9572574f623e0d7c497ff204da5050a2e (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/llfloaterscriptdebug.cpp')
-rw-r--r--indra/newview/llfloaterscriptdebug.cpp3
1 files changed, 3 insertions, 0 deletions
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;