1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +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:
Hugo Locurcio
2019-09-20 01:56:09 +02:00
parent 2add51d082
commit ba566dff2e
7 changed files with 25 additions and 20 deletions

View File

@@ -74,7 +74,8 @@ public:
enum MessageType {
MSG_TYPE_STD,
MSG_TYPE_ERROR,
MSG_TYPE_WARNING
MSG_TYPE_WARNING,
MSG_TYPE_EDITOR
};
void add_message(const String &p_msg, MessageType p_type = MSG_TYPE_STD);