GP: Make Close fill strokes visible

This commit is contained in:
2019-01-17 19:33:39 +01:00
parent 260b786d07
commit 938b08b336

View File

@@ -816,7 +816,9 @@ static void gpencil_draw_strokes(
opacity, tintcolor, false, custonion);
}
/* stroke */
if ((gp_style->flag & GP_STYLE_STROKE_SHOW) &&
/* No fill strokes, must show stroke always */
if (((gp_style->flag & GP_STYLE_STROKE_SHOW) ||
(gps->flag & GP_STROKE_NOFILL)) &&
((gp_style->stroke_rgba[3] > GPENCIL_ALPHA_OPACITY_THRESH) ||
(gpl->blend_mode == eGplBlendMode_Normal)))
{