1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

AssetLib: Only notify when unavailable in verbose mode

(cherry picked from commit dc86bce306)
This commit is contained in:
Rémi Verschelde
2022-07-08 15:25:54 +02:00
parent 685cecbd5f
commit 875a0dba5a
2 changed files with 2 additions and 4 deletions

View File

@@ -6958,12 +6958,10 @@ EditorNode::EditorNode() {
ScriptTextEditor::register_editor(); //register one for text scripts
TextEditor::register_editor();
// Asset Library can't work on Web editor for now as most assets are sourced
// directly from GitHub which does not set CORS.
if (AssetLibraryEditorPlugin::is_available()) {
add_editor_plugin(memnew(AssetLibraryEditorPlugin(this)));
} else {
WARN_PRINT("Asset Library not available, as it requires SSL to work.");
print_verbose("Asset Library not available (due to using Web editor, or SSL support disabled).");
}
//add interface before adding plugins