Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFalk David <falkdavid@gmx.de>2020-08-11 18:29:37 +0300
committerFalk David <falkdavid@gmx.de>2020-08-11 18:29:37 +0300
commitc934bb5f409fef1afcb08ffecda2c6b2a08bcf56 (patch)
treea60762a5812d6d79bcbebd2ac94b5ceacca2850a /source/blender/editors/gpencil/gpencil_vertex_paint.c
parenta8cc21f09ec440f814c54060c33c46d90263ba5c (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.c2
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) {