diff options
author | Antonioya <blendergit@gmail.com> | 2019-07-07 23:28:41 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-07-07 23:28:41 +0300 |
commit | d19d0ff99e61a49a7a0178bc58ff258bab775f70 (patch) | |
tree | dcc93ebbadcae3535b49469956eade0e2e9c8d63 /source/blender/editors/gpencil/drawgpencil.c | |
parent | ad16af7a7e350a2164204b8af50ff00836d65386 (diff) |
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.
Diffstat (limited to 'source/blender/editors/gpencil/drawgpencil.c')
-rw-r--r-- | source/blender/editors/gpencil/drawgpencil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c index 5f08035a56b..809acc3b322 100644 --- a/source/blender/editors/gpencil/drawgpencil.c +++ b/source/blender/editors/gpencil/drawgpencil.c @@ -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; } |