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/editors/space_outliner/outliner_tools.c
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/editors/space_outliner/outliner_tools.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_tools.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c
index d59d04b6ac2..f809bb13b42 100644
--- a/source/blender/editors/space_outliner/outliner_tools.c
+++ b/source/blender/editors/space_outliner/outliner_tools.c
@@ -86,8 +86,6 @@
#include "UI_resources.h"
#include "UI_view2d.h"
-#include "../../blender/blenloader/BLO_readfile.h"
-
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
@@ -932,14 +930,8 @@ static void id_override_library_resync_fn(bContext *C,
te->store_elem->id->tag |= LIB_TAG_DOIT;
}
- BKE_lib_override_library_resync(bmain,
- scene,
- CTX_data_view_layer(C),
- id_root,
- NULL,
- do_hierarchy_enforce,
- true,
- &(struct BlendFileReadReport){.reports = reports});
+ BKE_lib_override_library_resync(
+ bmain, scene, CTX_data_view_layer(C), id_root, NULL, do_hierarchy_enforce, true, reports);
WM_event_add_notifier(C, NC_WINDOW, NULL);
}