Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2021-06-22 20:11:06 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-06-22 20:13:50 +0300
commit3a48147b8ab92e4828157ec7a3a1a75dd1a6b964 (patch)
treeb1b3875b83eda3b5213fd2318ba8751819c0b337 /source/blender/blenloader/intern/readfile.h
parent0b15353baa5c7c5b57ccb5dff8ef0fdf0d8beb5d (diff)
Revert "Enhanced stats/reports for blendfile reading."
This change crashes library linking operators, related tests and probably more. This reverts commit f8d219dfd4c31a918e33cb715472d91a5cd3fd51. Ref D11583
Diffstat (limited to 'source/blender/blenloader/intern/readfile.h')
-rw-r--r--source/blender/blenloader/intern/readfile.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.h b/source/blender/blenloader/intern/readfile.h
index 0fc71760b44..d1d4e0b3256 100644
--- a/source/blender/blenloader/intern/readfile.h
+++ b/source/blender/blenloader/intern/readfile.h
@@ -145,7 +145,11 @@ typedef struct FileData {
ListBase *old_mainlist;
struct IDNameLib_Map *old_idmap;
- struct BlendFileReadReport *reports;
+ struct ReportList *reports;
+ /* Counters for amount of missing libraries, and missing IDs in libraries.
+ * Used to generate a synthetic report in the UI. */
+ int library_file_missing_count;
+ int library_id_missing_count;
} FileData;
#define SIZEOFBLENDERHEADER 12