AssetLib: Only notify when unavailable in verbose mode

This commit is contained in:
Rémi Verschelde 2022-07-08 15:25:54 +02:00
parent d479eba7b4
commit dc86bce306
2 changed files with 2 additions and 4 deletions

View File

@ -7056,12 +7056,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));
} 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.

View File

@ -2797,7 +2797,7 @@ ProjectManager::ProjectManager() {
tabs->add_child(asset_library);
asset_library->connect("install_asset", callable_mp(this, &ProjectManager::_install_project));
} 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).");
}
{