summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterluadebug.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2024-04-16 19:56:46 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2024-04-16 19:56:46 +0300
commit44e3b1859a925c3d5c9a9caa841669fad9d322b4 (patch)
tree9d39fb278553c99d3f8638c7be129000793a2809 /indra/newview/llfloaterluadebug.cpp
parent3a1a3bb9248939bfec431dc10814eb598591f78a (diff)
Call suspend() periodically to avoid viewer freeze
Diffstat (limited to 'indra/newview/llfloaterluadebug.cpp')
-rw-r--r--indra/newview/llfloaterluadebug.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llfloaterluadebug.cpp b/indra/newview/llfloaterluadebug.cpp
index f247528231..6fd11dd1c7 100644
--- a/indra/newview/llfloaterluadebug.cpp
+++ b/indra/newview/llfloaterluadebug.cpp
@@ -123,8 +123,10 @@ void LLFloaterLUADebug::completion(int count, const LLSD& result)
if (count < 0)
{
// error: show error message
- mResultOutput->insertText("*** ");
- mResultOutput->pasteTextWithLinebreaks(result.asString());
+ LLStyle::Params params;
+ params.readonly_color = LLUIColorTable::instance().getColor("LtRed");
+ mResultOutput->appendText(result.asString(), false, params);
+ mResultOutput->endOfDoc();
return;
}
if (count == 1)