Cleanup: redundant flag check
This commit is contained in:
parent
406d9749d8
commit
d3fa576aa7
|
@ -1714,9 +1714,7 @@ static tGPDfill *gpencil_session_init_fill(bContext *C, wmOperator *op)
|
|||
LISTBASE_FOREACH (bGPDlayer *, gpl, &tgpf->gpd->layers) {
|
||||
LISTBASE_FOREACH (bGPDframe *, gpf, &gpl->frames) {
|
||||
LISTBASE_FOREACH (bGPDstroke *, gps, &gpf->strokes) {
|
||||
if (gps->flag & GP_STROKE_TAG) {
|
||||
gps->flag &= ~GP_STROKE_TAG;
|
||||
}
|
||||
gps->flag &= ~GP_STROKE_TAG;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue