diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-12 04:50:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-12 08:13:36 +0300 |
commit | d3fa576aa704a1eeed75244d4b2a124989cd0d50 (patch) | |
tree | 76092e2c4c894fc701aab78f578aa80783368b8d /source/blender/editors/gpencil | |
parent | 406d9749d8dfa18c2e2ab04ba9b17cfd310f225d (diff) |
Cleanup: redundant flag check
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_fill.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c index a3be475678d..4749f40fac5 100644 --- a/source/blender/editors/gpencil/gpencil_fill.c +++ b/source/blender/editors/gpencil/gpencil_fill.c @@ -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; } } } |