mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Distinguish editor-originating messages in the editor log
This fades out messages originating from the editor to make messages printed by the project stand out more. This also tweaks wording in some editor messages for consistency.
This commit is contained in:
parent
2add51d082
commit
ba566dff2e
7 changed files with 25 additions and 20 deletions
|
@ -1190,7 +1190,7 @@ void ScriptEditorDebugger::_notification(int p_what) {
|
|||
if (connection.is_null())
|
||||
break;
|
||||
|
||||
EditorNode::get_log()->add_message("** Debug Process Started **");
|
||||
EditorNode::get_log()->add_message("--- Debugging process started ---", EditorLog::MSG_TYPE_EDITOR);
|
||||
|
||||
ppeer->set_stream_peer(connection);
|
||||
|
||||
|
@ -1200,7 +1200,7 @@ void ScriptEditorDebugger::_notification(int p_what) {
|
|||
dobreak->set_disabled(false);
|
||||
tabs->set_current_tab(0);
|
||||
|
||||
_set_reason_text(TTR("Child Process Connected"), MESSAGE_SUCCESS);
|
||||
_set_reason_text(TTR("Child process connected."), MESSAGE_SUCCESS);
|
||||
profiler->clear();
|
||||
|
||||
inspect_scene_tree->clear();
|
||||
|
@ -1388,7 +1388,7 @@ void ScriptEditorDebugger::stop() {
|
|||
ppeer->set_stream_peer(Ref<StreamPeer>());
|
||||
|
||||
if (connection.is_valid()) {
|
||||
EditorNode::get_log()->add_message("** Debug Process Stopped **");
|
||||
EditorNode::get_log()->add_message("--- Debugging process stopped ---", EditorLog::MSG_TYPE_EDITOR);
|
||||
connection.unref();
|
||||
|
||||
reason->set_text("");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue