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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-07-09 16:36:06 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-07-09 16:37:36 +0300
commitedeb9e5b01626f0dcdf6c0f1c9b8c891bc681e5f (patch)
tree6efabb9b3335838cb21a1cf8e466a0bd4cd99a59 /source/blender/blenkernel/intern/collection.c
parente8bc8bf618b6fdc03c3b4b10dacb54b13bcbcbce (diff)
Fix T55868: duplicating collection instances fails sometimes.
Diffstat (limited to 'source/blender/blenkernel/intern/collection.c')
-rw-r--r--source/blender/blenkernel/intern/collection.c2
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;
}
}