diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-07-09 16:36:06 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-07-09 16:37:36 +0300 |
commit | edeb9e5b01626f0dcdf6c0f1c9b8c891bc681e5f (patch) | |
tree | 6efabb9b3335838cb21a1cf8e466a0bd4cd99a59 /source/blender | |
parent | e8bc8bf618b6fdc03c3b4b10dacb54b13bcbcbce (diff) |
Fix T55868: duplicating collection instances fails sometimes.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/collection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/collection.c b/source/blender/blenkernel/intern/collection.c index 1d9cc9bb8d0..0c93f304218 100644 --- a/source/blender/blenkernel/intern/collection.c +++ b/source/blender/blenkernel/intern/collection.c @@ -473,7 +473,7 @@ static bool collection_object_add(Main *bmain, Collection *collection, Object *o { if (ob->dup_group) { /* Cyclic dependency check. */ - if (collection_find_child_recursive(collection, ob->dup_group)) { + if (collection_find_child_recursive(ob->dup_group, collection)) { return false; } } |