diff options
author | Falk David <falkdavid@gmx.de> | 2020-08-11 18:29:37 +0300 |
---|---|---|
committer | Falk David <falkdavid@gmx.de> | 2020-08-11 18:29:37 +0300 |
commit | c934bb5f409fef1afcb08ffecda2c6b2a08bcf56 (patch) | |
tree | a60762a5812d6d79bcbebd2ac94b5ceacca2850a /source/blender/editors/gpencil/gpencil_vertex_paint.c | |
parent | a8cc21f09ec440f814c54060c33c46d90263ba5c (diff) |
GPencil: Refactor: Make return more explicit
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_vertex_paint.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_vertex_paint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_vertex_paint.c b/source/blender/editors/gpencil/gpencil_vertex_paint.c index 59b880c2a70..34731e1270c 100644 --- a/source/blender/editors/gpencil/gpencil_vertex_paint.c +++ b/source/blender/editors/gpencil/gpencil_vertex_paint.c @@ -846,7 +846,7 @@ static bool gpencil_vertexpaint_select_stroke(tGP_BrushVertexpaintData *gso, /* Check if the stroke collide with brush. */ if (!ED_gpencil_stroke_check_collision(gsc, gps, gso->mval, radius, diff_mat)) { - return saved; + return false; } if (gps->totpoints == 1) { |