Преглед на файлове

Improve image loading performance in the asset library

This closes #31614.
Hugo Locurcio преди 6 години
родител
ревизия
2ed7bf58ba
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      editor/plugins/asset_library_editor_plugin.cpp

+ 1 - 1
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;