From 9f68eb2e4c0a473e595e7176ed451515d9865842 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 23 Jul 2021 12:53:19 +0200 Subject: [PATCH] Clarify the purpose of the default asset library URLs in the editor `localhost` was removed as it won't work out of the box. It can be added by the user if they're working on the asset library itself. This won't affect existing installations due to how the editor settings are stored, but existing installations will keep working fine. (cherry picked from commit eac8ba6ce8bf9ad2f8a0f2026718e784e3d32f54) --- editor/plugins/asset_library_editor_plugin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp index 80524e5397a..74a4c1795dd 100644 --- a/editor/plugins/asset_library_editor_plugin.cpp +++ b/editor/plugins/asset_library_editor_plugin.cpp @@ -635,8 +635,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();