diff options
author | Bastien Montagne <bastien@blender.org> | 2022-08-02 16:11:06 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-08-02 16:11:06 +0300 |
commit | 977a5bbee1261bcaa0a6b3fba95c483da01f1398 (patch) | |
tree | 59e2e66896785cbc0cc0ac2dcc55ff445d10447c | |
parent | d03a5fab7a4d0462091c93be52638015240f1afd (diff) |
Fix T99820: missing 'no more mising' tagging on reloaded libraries.
Backport of rB4d8018948ddb for 2.93 LTS.
-rw-r--r-- | source/blender/windowmanager/intern/wm_files_link.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_files_link.c b/source/blender/windowmanager/intern/wm_files_link.c index 840debad01b..219f008f0d0 100644 --- a/source/blender/windowmanager/intern/wm_files_link.c +++ b/source/blender/windowmanager/intern/wm_files_link.c @@ -261,7 +261,8 @@ static void wm_link_do(WMLinkAppendData *lapp_data, mainl = BLO_library_link_begin(&bh, libname, &liblink_params); lib = mainl->curlib; BLI_assert(lib); - UNUSED_VARS_NDEBUG(lib); + /* 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, |