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:
authorBastien Montagne <bastien@blender.org>2021-11-30 19:52:58 +0300
committerBastien Montagne <bastien@blender.org>2021-12-02 13:10:34 +0300
commit9f290467ca3a8517b13d81031099744d86f3ae21 (patch)
tree9dfdda10b6ac48e4db7a3b27baa299a09e222f5b /source/blender/blenkernel/intern/blendfile_link_append.c
parent4fe8c62b56d738163902e9f38565a1891abc5a36 (diff)
Blendread: Remove all instantiation logic from `BLO_library_link_` code.
Instantiation is now fully handled by BKE_blendfile_link_append module. Note that this also allows removal of the `BLO_LIBLINK_NEEDS_ID_TAG_DOIT` flag. Part of T91414: Unify link/append between WM operators and BPY context manager API, and cleanup usages of `BKE_library_make_local`.
Diffstat (limited to 'source/blender/blenkernel/intern/blendfile_link_append.c')
-rw-r--r--source/blender/blenkernel/intern/blendfile_link_append.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/blendfile_link_append.c b/source/blender/blenkernel/intern/blendfile_link_append.c
index 8c6213d8957..7c06613f437 100644
--- a/source/blender/blenkernel/intern/blendfile_link_append.c
+++ b/source/blender/blenkernel/intern/blendfile_link_append.c
@@ -1324,12 +1324,6 @@ void BKE_blendfile_link(BlendfileLinkAppendContext *lapp_context, ReportList *re
/* here appending/linking starts */
- /* NOTE: This is temporary hot-fix until whole code using link/append features has been moved
- * to use new BKE code. */
- /* Do not handle instantiation in linking process anymore, we do it here in
- * #loose_data_instantiate instead. */
- lapp_context->params->flag &= ~BLO_LIBLINK_NEEDS_ID_TAG_DOIT;
-
mainl = BLO_library_link_begin(&blo_handle, libname, lapp_context->params);
lib = mainl->curlib;
BLI_assert(lib);