Merge branch 'blender-v2.91-release' into master
This commit is contained in:
commit
5db114ae0f
|
@ -1893,7 +1893,9 @@ void BKE_library_make_local(Main *bmain,
|
|||
if (id->lib == NULL) {
|
||||
id->tag &= ~(LIB_TAG_EXTERN | LIB_TAG_INDIRECT | LIB_TAG_NEW);
|
||||
id->flag &= ~LIB_INDIRECT_WEAK_LINK;
|
||||
if (ID_IS_OVERRIDE_LIBRARY_REAL(id)) {
|
||||
if (ID_IS_OVERRIDE_LIBRARY_REAL(id) &&
|
||||
ELEM(lib, NULL, id->override_library->reference->lib) &&
|
||||
((untagged_only == false) || !(id->tag & LIB_TAG_PRE_EXISTING))) {
|
||||
BKE_lib_override_library_free(&id->override_library, true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue