From ea9ab0ec04e20ceaed54161cedb023f89396020e Mon Sep 17 00:00:00 2001 From: YimingWu Date: Wed, 11 Jun 2025 17:03:22 +0200 Subject: [PATCH] Fix #140082: Line Art: Use original object id to check dupli objects In 884ef238c0 line art added a safe guard in depsgraph iterator to properly handle dupli-objects, but it should check original objects id for inclusion instead of evaluated objects. Now dupli-objects will show up correctly. Pull Request: https://projects.blender.org/blender/blender/pulls/140095 --- source/blender/blenkernel/intern/object_dupli.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/blender/blenkernel/intern/object_dupli.cc b/source/blender/blenkernel/intern/object_dupli.cc index eafab0b8f92..0dfc776049d 100644 --- a/source/blender/blenkernel/intern/object_dupli.cc +++ b/source/blender/blenkernel/intern/object_dupli.cc @@ -550,7 +550,9 @@ static void make_duplis_collection(const DupliContext *ctx) } if (ctx->include_objects) { - if (!ctx->include_objects->contains(cob)) { + Object *original_object = cob->id.orig_id ? reinterpret_cast(cob->id.orig_id) : + cob; + if (!ctx->include_objects->contains(original_object)) { continue; } }