summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-08-27 19:41:49 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-08-27 19:41:49 +0200
commit2ed7bf58ba55b58e200ac7291da1e2d72d290074 (patch)
tree260419a45eb1f48329781e62b1c7250d7e847fad
parentb7c46ed9298b6be4d61574979f686f59b8313be0 (diff)
Improve image loading performance in the asset library
This closes #31614.
-rw-r--r--editor/plugins/asset_library_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp
index 3eea888950..8b225f8235 100644
--- a/editor/plugins/asset_library_editor_plugin.cpp
+++ b/editor/plugins/asset_library_editor_plugin.cpp
@@ -827,7 +827,7 @@ void EditorAssetLibrary::_image_request_completed(int p_status, int p_code, cons
void EditorAssetLibrary::_update_image_queue() {
- int max_images = 2;
+ const int max_images = 6;
int current_images = 0;
List<int> to_delete;