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

Remove duplicate WARN_PRINT macro.

This commit is contained in:
Marcel Admiraal
2019-11-07 09:44:15 +01:00
parent 5af3b4ca27
commit f0db13502a
37 changed files with 64 additions and 69 deletions

View File

@@ -3042,7 +3042,7 @@ void EditorNode::set_addon_plugin_enabled(const String &p_addon, bool p_enabled,
}
ps->set("editor_plugins/enabled", enabled_plugins);
ps->save();
WARN_PRINTS("Addon '" + p_addon + "' failed to load. No directory found. Removing from enabled plugins.");
WARN_PRINT("Addon '" + p_addon + "' failed to load. No directory found. Removing from enabled plugins.");
return;
}
Error err = cf->load(addon_path);
@@ -3988,7 +3988,7 @@ void EditorNode::show_warning(const String &p_text, const String &p_title) {
warning->set_title(p_title);
warning->popup_centered_minsize();
} else {
WARN_PRINTS(p_title + " " + p_text);
WARN_PRINT(p_title + " " + p_text);
}
}