diff options
author | Joshua Leung <aligorith@gmail.com> | 2014-12-01 14:44:14 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2014-12-01 15:19:48 +0300 |
commit | 965a49a3e693112bd812c27711e0de1d07a52e57 (patch) | |
tree | b8dd352986cc0c0a4ae008be3ef9fdcae697c902 /source/blender/editors | |
parent | 11ad5175361ecdc8d4b4945cb16ac6ad8c7a35d9 (diff) |
Fix: Forgot to set fill colour when drawing 2D filled strokes
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/gpencil/drawgpencil.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c index e79db77dd29..84d4cb8806e 100644 --- a/source/blender/editors/gpencil/drawgpencil.c +++ b/source/blender/editors/gpencil/drawgpencil.c @@ -725,6 +725,7 @@ static void gp_draw_strokes(bGPDframe *gpf, int offsx, int offsy, int winx, int else { /* 2D - Fill */ if ((dflag & GP_DRAWDATA_FILL) && (gps->totpoints >= 3)) { + glColor4fv(fill_color); gp_draw_stroke_fill(gps->points, gps->totpoints, lthick, dflag, gps->flag, offsx, offsy, winx, winy); } |