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
251c017534
commit
7863e03e89
|
@ -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