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/tests
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/tests')
-rw-r--r--source/blender/blenloader/tests/blendfile_loading_base_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenloader/tests/blendfile_loading_base_test.cc b/source/blender/blenloader/tests/blendfile_loading_base_test.cc
index e93348b2158..280a4b42b36 100644
--- a/source/blender/blenloader/tests/blendfile_loading_base_test.cc
+++ b/source/blender/blenloader/tests/blendfile_loading_base_test.cc
@@ -123,8 +123,7 @@ bool BlendfileLoadingBaseTest::blendfile_load(const char *filepath)
char abspath[FILENAME_MAX];
BLI_path_join(abspath, sizeof(abspath), test_assets_dir.c_str(), filepath, NULL);
- BlendFileReadReport bf_reports = {NULL};
- bfile = BLO_read_from_file(abspath, BLO_READ_SKIP_NONE, &bf_reports);
+ bfile = BLO_read_from_file(abspath, BLO_READ_SKIP_NONE, nullptr /* reports */);
if (bfile == nullptr) {
ADD_FAILURE() << "Unable to load file '" << filepath << "' from test assets dir '"
<< test_assets_dir << "'";