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
This commit is contained in:
@@ -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<Object *>(cob->id.orig_id) :
|
||||
cob;
|
||||
if (!ctx->include_objects->contains(original_object)) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user