From 82050a5e46f7b53085d8c11f8637d9f9aa30168c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liru=20F=C3=A6rs?= Date: Sun, 3 Nov 2019 18:30:00 -0500 Subject: [PATCH] Woops, actually do the script debug link thing. --- indra/newview/llfloaterscriptdebug.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/indra/newview/llfloaterscriptdebug.cpp b/indra/newview/llfloaterscriptdebug.cpp index a9c74a067..e1209ccdf 100644 --- a/indra/newview/llfloaterscriptdebug.cpp +++ b/indra/newview/llfloaterscriptdebug.cpp @@ -162,7 +162,7 @@ void LLFloaterScriptDebug::addScriptLine(LLChat& chat, const LLColor4& color) floater_label = user_name; } - chat.mURL = LLSLURL("objectim", source_id, LLURI::mapToQueryString(sdQuery)).getLocationString(); + chat.mURL = LLSLURL("objectim", source_id, LLURI::mapToQueryString(sdQuery)).getSLURLString(); addOutputWindow(LLUUID::null); addOutputWindow(source_id); @@ -212,6 +212,7 @@ LLFloaterScriptDebugOutput::LLFloaterScriptDebugOutput(const LLUUID& object_id) mHistoryEditor->setFollowsAll(); mHistoryEditor->setEnabled( FALSE ); mHistoryEditor->setTabStop( TRUE ); // We want to be able to cut or copy from the history. + mHistoryEditor->setParseHTML(true); addChild(mHistoryEditor); } @@ -235,6 +236,7 @@ void LLFloaterScriptDebugOutput::initFloater(const std::string& title, BOOL resi mHistoryEditor->setFollowsAll(); mHistoryEditor->setEnabled( FALSE ); mHistoryEditor->setTabStop( TRUE ); // We want to be able to cut or copy from the history. + mHistoryEditor->setParseHTML(true); addChild(mHistoryEditor); } @@ -251,7 +253,7 @@ void LLFloaterScriptDebugOutput::addLine(const LLChat& chat, std::string message mHistoryEditor->appendText(chat.mURL, false, true); } LLStyleSP style(new LLStyle(true, color, LLStringUtil::null)); - mHistoryEditor->appendText(message, false, true, style, false); + mHistoryEditor->appendText(message, false, false, style, false); } //static