diff options
author | Bastien Montagne <bastien@blender.org> | 2022-08-01 17:53:06 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-08-01 17:53:06 +0300 |
commit | 99f2b59fe6f09c9554ea2782f04d8a68786ef9d0 (patch) | |
tree | 345213d4713289121fca5dd0ecb537152761fd6f | |
parent | 577a2a5dbe8a9d73b48bdc106ccd6d833bede4cc (diff) | |
parent | 4d8018948ddb2952a7daa57adb6c460717a0ff6e (diff) |
Merge branch 'blender-v3.3-release'
-rw-r--r-- | source/blender/blenkernel/intern/blendfile_link_append.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/blendfile_link_append.c b/source/blender/blenkernel/intern/blendfile_link_append.c index ebf48acde0f..d9ca1e74391 100644 --- a/source/blender/blenkernel/intern/blendfile_link_append.c +++ b/source/blender/blenkernel/intern/blendfile_link_append.c @@ -1232,8 +1232,9 @@ void BKE_blendfile_link(BlendfileLinkAppendContext *lapp_context, ReportList *re mainl = BLO_library_link_begin(&blo_handle, libname, lapp_context->params); lib = mainl->curlib; - BLI_assert(lib); - UNUSED_VARS_NDEBUG(lib); + BLI_assert(lib != NULL); + /* In case lib was already existing but not found originally, see T99820. */ + lib->id.tag &= ~LIB_TAG_MISSING; if (mainl->versionfile < 250) { BKE_reportf(reports, |