You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Add warning color to output log
This commit is contained in:
@@ -4566,7 +4566,7 @@ static Node *_resource_get_edited_scene() {
|
||||
|
||||
void EditorNode::_print_handler(void *p_this, const String &p_string, bool p_error) {
|
||||
EditorNode *en = (EditorNode *)p_this;
|
||||
en->log->add_message(p_string, p_error);
|
||||
en->log->add_message(p_string, p_error ? EditorLog::MSG_TYPE_ERROR : EditorLog::MSG_TYPE_STD);
|
||||
}
|
||||
|
||||
EditorNode::EditorNode() {
|
||||
|
||||
Reference in New Issue
Block a user