summaryrefslogtreecommitdiffstats
path: root/editor/plugins/asset_library_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-13 11:21:32 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-13 11:21:32 +0200
commit04456cf42d852eb5772af7c859550b7ac1ccc13b (patch)
tree39fbdf3c476b16cb16db3fa51673fa320b9d9700 /editor/plugins/asset_library_editor_plugin.cpp
parent5a56d11ad14b7d5a5e446595f21a9b4c748942af (diff)
parentdd6443193cbf249c686105c20481283ec63a5f45 (diff)
downloadredot-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.cpp3
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);