summaryrefslogtreecommitdiff
path: root/editor/debugger
diff options
context:
space:
mode:
authorVoylin <0voylin0@gmail.com>2022-07-01 04:33:59 +0900
committerVoylin <0voylin0@gmail.com>2022-07-01 04:34:19 +0900
commitcebdfd1bbd060bd77a9875ebfa5f8cebb6e2d7c0 (patch)
treed3d34e3af47027da48de7b317db5dce2f32ee3bf /editor/debugger
parent20d4c660667e6515e7a623b6eb9fe876c55ddad6 (diff)
Fixing Print_rich which only displays correctly in terminal
There was an issue that the type was not passed through correctly. These couple of lines fix this issue and make print_rich work as expected.
Diffstat (limited to 'editor/debugger')
-rw-r--r--editor/debugger/script_editor_debugger.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/debugger/script_editor_debugger.cpp b/editor/debugger/script_editor_debugger.cpp
index c209c67dcb..408d6af022 100644
--- a/editor/debugger/script_editor_debugger.cpp
+++ b/editor/debugger/script_editor_debugger.cpp
@@ -428,6 +428,9 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da
case RemoteDebugger::MESSAGE_TYPE_LOG: {
msg_type = EditorLog::MSG_TYPE_STD;
} break;
+ case RemoteDebugger::MESSAGE_TYPE_LOG_RICH: {
+ msg_type = EditorLog::MSG_TYPE_STD_RICH;
+ } break;
case RemoteDebugger::MESSAGE_TYPE_ERROR: {
msg_type = EditorLog::MSG_TYPE_ERROR;
} break;