Browse Source

Merge pull request #62839 from akien-mga/assetlib-unavailable-verbose

Rémi Verschelde 3 years ago
parent
commit
787fd7e4d0
2 changed files with 2 additions and 4 deletions
  1. 1 3
      editor/editor_node.cpp
  2. 1 1
      editor/project_manager.cpp

+ 1 - 3
editor/editor_node.cpp

@@ -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.

+ 1 - 1
editor/project_manager.cpp

@@ -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).");
 	}
 
 	{