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 <montagne29@wanadoo.fr>2019-01-30 13:46:49 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-01-30 13:46:49 +0300
commit534573f6b9dc5e637bea18de3edcd0f22593666a (patch)
treef7f05a820a54df872482c2e23a024ad752460bf9 /source/blender/blenkernel/intern/library.c
parente074204d2f17cad7ce11a7336ef89ba233735588 (diff)
Fix T60957: ASSERT when reloading double-linked file.
Kind of funny to see that this has been missing presumably since the first version of library linking in Blender, and only gets noticed now. Then again, that was not really a critical issue, iirc write code ensures all libraries directly used get properly written, even if flags are incorrect.
Diffstat (limited to 'source/blender/blenkernel/intern/library.c')
-rw-r--r--source/blender/blenkernel/intern/library.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c
index a933bd939e8..1db36b459fe 100644
--- a/source/blender/blenkernel/intern/library.c
+++ b/source/blender/blenkernel/intern/library.c
@@ -168,6 +168,7 @@ void id_lib_extern(ID *id)
if (id->tag & LIB_TAG_INDIRECT) {
id->tag &= ~LIB_TAG_INDIRECT;
id->tag |= LIB_TAG_EXTERN;
+ id->lib->parent = NULL;
}
}
}