mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
AssetLib: Only notify when unavailable in verbose mode
This commit is contained in:
parent
d479eba7b4
commit
dc86bce306
@ -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.
|
||||
|
@ -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).");
|
||||
}
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user