diff options
author | Antonioya <blendergit@gmail.com> | 2019-01-17 21:33:39 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-01-17 21:33:39 +0300 |
commit | 938b08b33654f6bc3419519fc364021115d19dba (patch) | |
tree | 6bd9e97c5f93245e4c68a71578b39a94a531131b /source | |
parent | 260b786d0724fc115c1b9920acbbfb04a5fc6cf8 (diff) |
GP: Make Close fill strokes visible
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_draw_utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c index 749e172515a..2dd9c74d424 100644 --- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c +++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c @@ -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))) { |