Fix(unreported): LineArt intersection mask logic error.
The stroke generation call mistakenly uses all enabled types to check intersection mask, the correct behavior is to use individual edge(chain) type.
This commit is contained in:
parent
24b84e4688
commit
9cec9b4d6e
|
@ -4394,7 +4394,7 @@ static void lineart_gpencil_generate(LineartCache *cache,
|
|||
}
|
||||
}
|
||||
}
|
||||
if (types & LRT_EDGE_FLAG_INTERSECTION) {
|
||||
if (ec->type & LRT_EDGE_FLAG_INTERSECTION) {
|
||||
if (mask_switches & LRT_GPENCIL_INTERSECTION_MATCH) {
|
||||
if (ec->intersection_mask != intersection_mask) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue