From 3fc5826f7c6c7606a6bc7e01970321c4e5b41751 Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Sun, 21 Jun 2020 15:51:50 +0200 Subject: GPencil: Fix unreported missing material onion filter This feature was removed by error during the refactor done in draw engine. Differential Revision: https://developer.blender.org/D8082 --- source/blender/editors/gpencil/drawgpencil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/gpencil/drawgpencil.c') diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c index 6d41e9bddbe..3aff943a093 100644 --- a/source/blender/editors/gpencil/drawgpencil.c +++ b/source/blender/editors/gpencil/drawgpencil.c @@ -316,7 +316,7 @@ static void gp_draw_strokes(tGPDdraw *tgpw) if ((gp_style == NULL) || (gp_style->flag & GP_MATERIAL_HIDE) || /* if onion and ghost flag do not draw*/ - (tgpw->onion && (gp_style->flag & GP_MATERIAL_ONIONSKIN))) { + (tgpw->onion && (gp_style->flag & GP_MATERIAL_HIDE_ONIONSKIN))) { continue; } -- cgit v1.2.3