diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-04 00:13:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-04 00:13:13 +0300 |
commit | 22bc9fb4a9eca2dce4f51652d61f14f65eef0227 (patch) | |
tree | 4e9526723e74702bfcfd23a408c4a437a014a7e9 /source/blender/editors/gpencil | |
parent | 2933fd6c7c16d95c8d8e7a5b171edd35632cdb50 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index df40422e1c1..b66956b090d 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -1379,8 +1379,7 @@ static void gp_stroke_soft_refine(bGPDstroke *gps) for (i = 1; i < gps->totpoints - 1; i++, pt++) { if (pt->flag & GP_SPOINT_TAG) { pt2 = &gps->points[i + 1]; - if (((pt2->flag & GP_SPOINT_TAG) == 0)) - { + if ((pt2->flag & GP_SPOINT_TAG) == 0) { pt->flag &= ~GP_SPOINT_TAG; } } @@ -1391,8 +1390,7 @@ static void gp_stroke_soft_refine(bGPDstroke *gps) for (i = gps->totpoints - 1; i > 0; i--, pt--) { if (pt->flag & GP_SPOINT_TAG) { pt2 = &gps->points[i - 1]; - if (((pt2->flag & GP_SPOINT_TAG) == 0)) - { + if ((pt2->flag & GP_SPOINT_TAG) == 0) { pt->flag &= ~GP_SPOINT_TAG; } } |