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 <bastien@blender.org>2020-05-25 16:43:54 +0300
committerBastien Montagne <bastien@blender.org>2020-05-25 16:43:54 +0300
commit8b849f39e8bbfd02f24bbcbc7874081fc3c37f06 (patch)
tree8e5d99272081ccb57b7b4c0e65d55b1a992e368c /source/blender/blenkernel/intern/lib_id.c
parentb01d2ea72ac17d93083cab974563b48d729faf7a (diff)
parent849f5bee193e4d1c98b99a8e40da56a7af5a8fc8 (diff)
Merge branch 'blender-v2.83-release'
Conflicts: source/blender/blenkernel/intern/lib_id.c
Diffstat (limited to 'source/blender/blenkernel/intern/lib_id.c')
-rw-r--r--source/blender/blenkernel/intern/lib_id.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/source/blender/blenkernel/intern/lib_id.c b/source/blender/blenkernel/intern/lib_id.c
index ba5a169b4ee..19462c62496 100644
--- a/source/blender/blenkernel/intern/lib_id.c
+++ b/source/blender/blenkernel/intern/lib_id.c
@@ -343,7 +343,7 @@ static int lib_id_expand_local_cb(LibraryIDLinkCallbackData *cb_data)
*/
void BKE_lib_id_expand_local(Main *bmain, ID *id)
{
- BKE_library_foreach_ID_link(bmain, id, lib_id_expand_local_cb, NULL, IDWALK_READONLY);
+ BKE_library_foreach_ID_link(bmain, id, lib_id_expand_local_cb, bmain, IDWALK_READONLY);
}
/**
@@ -1691,20 +1691,6 @@ static void library_make_local_copying_check(ID *id,
/* Our oh-so-beloved 'from' pointers... Those should always be ignored here, since the actual
* relation we want to check is in the other way around. */
if (entry->usage_flag & IDWALK_CB_LOOPBACK) {
-#ifndef NDEBUG
- /* Some debug checks to ensure we explicitly are aware of all 'loop-back' cases, since those
- * may not always be manageable in the same way... */
- switch (GS(par_id->name)) {
- case ID_OB:
- BLI_assert(((Object *)par_id)->proxy_from == (Object *)id);
- break;
- case ID_KE:
- BLI_assert(((Key *)par_id)->from == id);
- break;
- default:
- BLI_assert(0);
- }
-#endif
continue;
}