diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2020-01-26 18:35:58 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2020-01-27 14:19:49 +0300 |
commit | 37889011070ff2ec52159690f652238d2b325185 (patch) | |
tree | fcdbb010b251ccad383940f8215cbd7b8ab29d02 /source/blender/editors/gpencil/gpencil_primitive.c | |
parent | 34c8ba6d3e79e85231b0e63d25e7c43cf5ab4ea9 (diff) |
Cleanup: fix compiler warnings
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_primitive.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_primitive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_primitive.c b/source/blender/editors/gpencil/gpencil_primitive.c index f0ff38e60b1..6a0006ef04c 100644 --- a/source/blender/editors/gpencil/gpencil_primitive.c +++ b/source/blender/editors/gpencil/gpencil_primitive.c @@ -1386,7 +1386,7 @@ static void gpencil_primitive_edit_event_handling( case LEFTMOUSE: { if ((event->val == KM_RELEASE) && (tgpi->flag == IN_PROGRESS)) { /* set control points and enter edit mode */ - if ((ELEM(tgpi->type, GP_STROKE_POLYLINE))) { + if (ELEM(tgpi->type, GP_STROKE_POLYLINE)) { gpencil_primitive_add_segment(tgpi); copy_v2_v2(tgpi->start, tgpi->end); copy_v2_v2(tgpi->origin, tgpi->start); |