diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-13 11:21:32 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-13 11:21:32 +0200 |
commit | 04456cf42d852eb5772af7c859550b7ac1ccc13b (patch) | |
tree | 39fbdf3c476b16cb16db3fa51673fa320b9d9700 /editor/plugins/asset_library_editor_plugin.cpp | |
parent | 5a56d11ad14b7d5a5e446595f21a9b4c748942af (diff) | |
parent | dd6443193cbf249c686105c20481283ec63a5f45 (diff) | |
download | redot-engine-04456cf42d852eb5772af7c859550b7ac1ccc13b.tar.gz |
Merge pull request #93427 from AThousandShips/editor_setting_doc
[Editor] Expose more editor settings to documentation
Diffstat (limited to 'editor/plugins/asset_library_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/asset_library_editor_plugin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp index f31346fe67..af4b3a1643 100644 --- a/editor/plugins/asset_library_editor_plugin.cpp +++ b/editor/plugins/asset_library_editor_plugin.cpp @@ -47,7 +47,7 @@ #include "scene/resources/image_texture.h" static inline void setup_http_request(HTTPRequest *request) { - request->set_use_threads(EDITOR_DEF("asset_library/use_threads", true)); + request->set_use_threads(EDITOR_GET("asset_library/use_threads")); const String proxy_host = EDITOR_GET("network/http_proxy/host"); const int proxy_port = EDITOR_GET("network/http_proxy/port"); @@ -703,6 +703,7 @@ void EditorAssetLibrary::_notification(int p_what) { } void EditorAssetLibrary::_update_repository_options() { + // TODO: Move to editor_settings.cpp Dictionary default_urls; default_urls["godotengine.org (Official)"] = "https://godotengine.org/asset-library/api"; Dictionary available_urls = _EDITOR_DEF("asset_library/available_urls", default_urls, true); |