Fix T55868: duplicating collection instances fails sometimes.
This commit is contained in:
parent
e8bc8bf618
commit
edeb9e5b01
Notes:
blender-bot
2023-02-14 05:36:13 +01:00
Referenced by issue #55868, Duplicates immediately become Orphan Data
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue