diff options
Diffstat (limited to 'source/blender/gpencil_modifiers')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c index 2587b3cd8ea..e295a14557d 100644 --- a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c +++ b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c @@ -1723,7 +1723,7 @@ static bool _lineart_object_not_in_source_collection(Collection *source, Object { CollectionChild *cc; Collection *c = source->id.orig_id ? (Collection *)source->id.orig_id : source; - if (BKE_collection_has_object(c, (Object *)(ob->id.orig_id))) { + if (BKE_collection_has_object_recursive_instanced(c, (Object *)(ob->id.orig_id))) { return false; } for (cc = source->children.first; cc; cc = cc->next) { |