1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

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.
This commit is contained in:
Voylin
2022-07-01 04:33:59 +09:00
parent 20d4c66066
commit cebdfd1bbd
2 changed files with 11 additions and 0 deletions

View File

@@ -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;