From 3f55121a185ab7259b319be98fcbb787f4ab842b Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Wed, 28 Sep 2022 16:10:39 +0200 Subject: GPencil: Fix compiler warning --- source/blender/editors/gpencil/gpencil_fill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c index ba187080bab..b99274d66e5 100644 --- a/source/blender/editors/gpencil/gpencil_fill.c +++ b/source/blender/editors/gpencil/gpencil_fill.c @@ -887,7 +887,7 @@ static bool gpencil_stroke_is_drawable(tGPDfill *tgpf, bGPDstroke *gps) const bool is_collide = (gps->flag & GP_STROKE_COLLIDE) != 0; if (is_line_mode && only_collide && tgpf->is_render && !is_collide) { - return; + return false; } if ((!show_help) && (show_extend)) { -- cgit v1.2.3