diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-23 05:26:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-23 05:29:20 +0300 |
commit | a7239c2bad8fa9cd3896d6c845d2ddc4d9b27946 (patch) | |
tree | 4d83259c4f0164a94c6fcd67da5b2289c5e28f1a | |
parent | db5d9ddb1abdfb45548ea60b7c19687fc68dd2c9 (diff) |
Fix incorrect flag usage in line art modifier
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c index 97230ebbab0..2bab728f5d8 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c @@ -211,7 +211,7 @@ static void updateDepsgraph(GpencilModifierData *md, FOREACH_COLLECTION_VISIBLE_OBJECT_RECURSIVE_BEGIN (ctx->scene->master_collection, ob, mode) { if (ob->type == OB_MESH || ob->type == OB_MBALL || ob->type == OB_CURVE || ob->type == OB_SURF || ob->type == OB_FONT) { - if (!(ob->lineart.usage & COLLECTION_LRT_EXCLUDE)) { + if (ob->lineart.usage != OBJECT_LRT_EXCLUDE) { DEG_add_object_relation(ctx->node, ob, DEG_OB_COMP_GEOMETRY, "Line Art Modifier"); DEG_add_object_relation(ctx->node, ob, DEG_OB_COMP_TRANSFORM, "Line Art Modifier"); } |