diff options
author | Bastien Montagne <bastien@blender.org> | 2021-12-06 13:28:31 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-12-06 13:29:27 +0300 |
commit | 989d510e3e25ec0fc42147613ee224bdc3831077 (patch) | |
tree | 0649ac24c29ff3b0508c5536040d1500942e80b8 /source/blender/blenkernel/intern | |
parent | 9a69c456bd856e5ed634c37b657a55da39fa8130 (diff) |
Cleanup: remove some temp dev asserts in new link/append code.
No longer needed now that all code uses that new
BKE_blendfile_link_append module, and that instantiation code in
BLO_readfile has been removed.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/blendfile_link_append.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/source/blender/blenkernel/intern/blendfile_link_append.c b/source/blender/blenkernel/intern/blendfile_link_append.c index 7c06613f437..6cb71c48a00 100644 --- a/source/blender/blenkernel/intern/blendfile_link_append.c +++ b/source/blender/blenkernel/intern/blendfile_link_append.c @@ -1056,12 +1056,6 @@ void BKE_blendfile_append(BlendfileLinkAppendContext *lapp_context, ReportList * } BLI_assert(item->userdata == NULL); - /* Linked IDs should never be marked as needing post-processing (instantiation of loose - * objects etc.). - * NOTE: This is a developer test check, can be removed once we get rid of instantiation code - * in BLO completely.*/ - BLI_assert((id->tag & LIB_TAG_DOIT) == 0); - ID *existing_local_id = BKE_idtype_idcode_append_is_reusable(GS(id->name)) ? BKE_main_library_weak_reference_search_item( lapp_context->library_weak_reference_mapping, @@ -1381,12 +1375,6 @@ void BKE_blendfile_link(BlendfileLinkAppendContext *lapp_context, ReportList *re } BLI_assert(item->userdata == NULL); - /* Linked IDs should never be marked as needing post-processing (instantiation of loose - * objects etc.). - * NOTE: This is developer test check, can be removed once we get rid of instantiation code - * in BLO completely.*/ - BLI_assert((id->tag & LIB_TAG_DOIT) == 0); - BlendfileLinkAppendContextCallBack cb_data = { .lapp_context = lapp_context, .item = item, .reports = reports}; BKE_library_foreach_ID_link(lapp_context->params->bmain, |