Fix T66376: Problem with Gpencil fill tool

The fill material has an alpha > 0, but the show fill is disabled, but as the fill tool is considered the fill as visible and the stroke is not drawn, the fill area had a gap.
This commit is contained in:
Antonio Vazquez 2019-07-07 22:28:41 +02:00
parent ad16af7a7e
commit d19d0ff99e
Notes: blender-bot 2023-02-14 02:02:54 +01:00
Referenced by issue #66376, Problem with the Grease Pencil Fill Tool
Referenced by issue #66274, Object Texture Coordinate mode not updating in Lookdev / Eevee
1 changed files with 1 additions and 1 deletions

View File

@ -888,7 +888,7 @@ static void gp_draw_strokes(tGPDdraw *tgpw)
/* if disable fill, the colors with fill must be omitted too except fill boundary strokes */
if ((tgpw->disable_fill == 1) && (gp_style->fill_rgba[3] > 0.0f) &&
((gps->flag & GP_STROKE_NOFILL) == 0)) {
((gps->flag & GP_STROKE_NOFILL) == 0) && (gp_style->flag & GP_STYLE_FILL_SHOW)) {
continue;
}