Merge pull request #65023 from Faless/js/4.x_is_web

This commit is contained in:
Rémi Verschelde 2022-08-29 13:00:32 +02:00 committed by GitHub
commit 322c812231
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
120 changed files with 547 additions and 548 deletions

View file

@ -1595,7 +1595,7 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) {
///////
bool AssetLibraryEditorPlugin::is_available() {
#ifdef JAVASCRIPT_ENABLED
#ifdef WEB_ENABLED
// Asset Library can't work on Web editor for now as most assets are sourced
// directly from GitHub which does not set CORS.
return false;