diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2020-01-27 14:26:18 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2020-01-27 14:26:18 +0300 |
commit | aabf4d407695d0f2dbac0baa55bf1631e408eda9 (patch) | |
tree | 5ccb354f8f400cae37747f473dda6af6c15578d5 /source/blender/editors/gpencil | |
parent | 5c75c8d8d0bdc24fef1450a4e40c676977217fb6 (diff) | |
parent | 37889011070ff2ec52159690f652238d2b325185 (diff) |
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'source/blender/editors/gpencil')
-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); |