Merge pull request #65023 from Faless/js/4.x_is_web
This commit is contained in:
commit
322c812231
120 changed files with 547 additions and 548 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue