diff options
author | Antonioya <blendergit@gmail.com> | 2019-06-27 20:34:04 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-06-27 20:34:04 +0300 |
commit | b5a1a2d1866ed4fda67560f179c0d885f680d505 (patch) | |
tree | 248a02aea0f84ec9c83537cc61d95cb26aa909d1 /source | |
parent | b2c92d90c8f713b90180f5d4652c5e831fa8e506 (diff) |
GPencil: Fix missing Fill area when drawing an stroke
There was a mistake in the shading group name.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_draw_utils.c | 2 |
1 files changed, 1 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 fa706812715..13b17af8f76 100644 --- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c +++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c @@ -1574,7 +1574,7 @@ void gpencil_populate_buffer_strokes(GPENCIL_e_data *e_data, stl->g_data->shgrps_drawing_fill = DRW_shgroup_create(e_data->gpencil_drawing_fill_sh, psl->drawing_pass); /* Disable stencil for this type */ - DRW_shgroup_state_disable(stl->g_data->shgrps_drawing_stroke, + DRW_shgroup_state_disable(stl->g_data->shgrps_drawing_fill, DRW_STATE_WRITE_STENCIL | DRW_STATE_STENCIL_NEQUAL); stl->g_data->batch_buffer_fill = gpencil_get_buffer_fill_geom(gpd); |