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:
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
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue