diff options
Diffstat (limited to 'source/blender/draw/engines')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c index 368530fde05..388deec07bf 100644 --- a/source/blender/draw/engines/gpencil/gpencil_engine.c +++ b/source/blender/draw/engines/gpencil/gpencil_engine.c @@ -498,7 +498,7 @@ static void gpencil_stroke_cache_populate(bGPDlayer *gpl, bool hide_onion = gpl && gpf && gpf->runtime.onion_id != 0 && ((gp_style->flag & GP_MATERIAL_HIDE_ONIONSKIN) != 0); - if (hide_material || (!show_stroke && !show_fill) || only_lines || hide_onion) { + if (hide_material || (!show_stroke && !show_fill) || (only_lines && hide_onion) || hide_onion) { return; } |