summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-08-27 20:19:17 +0200
committerGitHub <noreply@github.com>2019-08-27 20:19:17 +0200
commitd8de8d5e34867f855865d14af59347d08be56442 (patch)
tree93ae2ed041d3b55beba3244d20adbc4988c4b834
parente28e7f54f8e696f73c4e3afad092d34cd57dc66f (diff)
parent2ed7bf58ba55b58e200ac7291da1e2d72d290074 (diff)
Merge pull request #31722 from Calinou/assetlib-improve-image-loading-speed
Improve image loading performance in the asset library
-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 ebcbe62e9d..0263be50ce 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;