GPencil: Fix compiler warning

This commit is contained in:
Antonio Vazquez 2022-09-28 16:10:39 +02:00
parent bb4e09ddc5
commit 3f55121a18

@ -887,7 +887,7 @@ static bool gpencil_stroke_is_drawable(tGPDfill *tgpf, bGPDstroke *gps)
const bool is_collide = (gps->flag & GP_STROKE_COLLIDE) != 0; const bool is_collide = (gps->flag & GP_STROKE_COLLIDE) != 0;
if (is_line_mode && only_collide && tgpf->is_render && !is_collide) { if (is_line_mode && only_collide && tgpf->is_render && !is_collide) {
return; return false;
} }
if ((!show_help) && (show_extend)) { if ((!show_help) && (show_extend)) {