Commit: c934bb5f409fef1afcb08ffecda2c6b2a08bcf56 Author: Falk David Date: Tue Aug 11 17:29:37 2020 +0200 Branches: soc-2020-greasepencil-curve https://developer.blender.org/rBc934bb5f409fef1afcb08ffecda2c6b2a08bcf56
GPencil: Refactor: Make return more explicit =================================================================== M source/blender/editors/gpencil/gpencil_vertex_paint.c =================================================================== 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) { _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs