Cleanup: redundant flag check

This commit is contained in:
Campbell Barton 2021-03-12 12:50:36 +11:00
parent 406d9749d8
commit d3fa576aa7
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}
}
}