summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-07-08 16:36:45 +0200
committerGitHub <noreply@github.com>2022-07-08 16:36:45 +0200
commit787fd7e4d0c55c4ff4947a98ee24d593bd62b048 (patch)
tree98dfebf5fc111cf92b7704204d9c229f74eff7ee /editor
parentd479eba7b4ecf54fd8a4c3d1c865c1016c837317 (diff)
parentdc86bce306385f4298b4413dd8c284b11856f14b (diff)
Merge pull request #62839 from akien-mga/assetlib-unavailable-verbose
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_node.cpp4
-rw-r--r--editor/project_manager.cpp2
2 files changed, 2 insertions, 4 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 8243011804..da8bf39f62 100644
--- a/editor/editor_node.cpp
+++ b/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.
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp
index 49a3cbe185..e81dfdd1cd 100644
--- a/editor/project_manager.cpp
+++ b/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).");
}
{