Skip to content

Commit

Permalink
Merge pull request #50768 from Calinou/editor-asset-library-urls-clarify
Browse files Browse the repository at this point in the history
Clarify the purpose of the default asset library URLs in the editor
  • Loading branch information
akien-mga committed Jul 23, 2021
2 parents 78dae32 + eac8ba6 commit 8cddd3b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions editor/plugins/asset_library_editor_plugin.cpp
Expand Up @@ -603,8 +603,7 @@ void EditorAssetLibrary::_notification(int p_what) {

void EditorAssetLibrary::_update_repository_options() {
Dictionary default_urls;
default_urls["godotengine.org"] = "https://godotengine.org/asset-library/api";
default_urls["localhost"] = "http://127.0.0.1/asset-library/api";
default_urls["godotengine.org (Official)"] = "https://godotengine.org/asset-library/api";
Dictionary available_urls = _EDITOR_DEF("asset_library/available_urls", default_urls, true);
repository->clear();
Array keys = available_urls.keys();
Expand Down

0 comments on commit 8cddd3b

Please sign in to comment.