From 4dbf5e3a81466724f7eefc0978ae247571d1f4bd Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 6 Mar 2019 11:38:06 +0100 Subject: Fix T62613: In duplicated collections objects loses patrenting. We need to remap duplicated IDs' ID pointers to new ones if they exist. --- source/blender/blenkernel/intern/library_remap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/intern/library_remap.c') diff --git a/source/blender/blenkernel/intern/library_remap.c b/source/blender/blenkernel/intern/library_remap.c index 03630297dc3..077ce059edf 100644 --- a/source/blender/blenkernel/intern/library_remap.c +++ b/source/blender/blenkernel/intern/library_remap.c @@ -679,7 +679,7 @@ static int id_relink_to_newid_looper(void *UNUSED(user_data), ID *UNUSED(self_id /** Similar to libblock_relink_ex, but is remapping IDs to their newid value if non-NULL, in given \a id. * - * Very specific usage, not sure we'll keep it on the long run, currently only used in Object duplication code... + * Very specific usage, not sure we'll keep it on the long run, currently only used in Object/Collection duplication code... */ void BKE_libblock_relink_to_newid(ID *id) { -- cgit v1.2.3