Merge pull request #62839 from akien-mga/assetlib-unavailable-verbose
This commit is contained in:
commit
787fd7e4d0
2 changed files with 2 additions and 4 deletions
|
@ -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 a new issue