diff options
author | Antonioya <blendergit@gmail.com> | 2019-04-18 15:19:00 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-04-18 20:33:06 +0300 |
commit | 4dce18fb51f17269161d1c2a16571502b97a860b (patch) | |
tree | 1479ee2f358ff688c4b4da79832da566930fdfca /source/blender/editors | |
parent | 4439e5d0ba3ffde3841ec44405a9bcaf800be279 (diff) |
GPencil: Add option to mix color with texture
This was already supported in Fill, but not in Strokes. This adds more artistic options when use textured strokes.
Diffstat (limited to 'source/blender/editors')
-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 2caaf7f7797..8110b1f3b9f 100644 --- a/source/blender/editors/gpencil/drawgpencil.c +++ b/source/blender/editors/gpencil/drawgpencil.c @@ -447,7 +447,7 @@ static void gp_draw_stroke_fill(bGPdata *gpd, immUniform2fv("texture_scale", gp_style->texture_scale); immUniform2fv("texture_offset", gp_style->texture_offset); immUniform1f("texture_opacity", gp_style->texture_opacity); - immUniform1i("t_mix", (gp_style->flag & GP_STYLE_COLOR_TEX_MIX) != 0); + immUniform1i("t_mix", (gp_style->flag & GP_STYLE_FILL_TEX_MIX) != 0); immUniform1i("t_flip", (gp_style->flag & GP_STYLE_COLOR_FLIP_FILL) != 0); #if 0 /* GPXX disabled, not used in annotations */ /* image texture */ |