diff options
author | Antonioya <blendergit@gmail.com> | 2018-12-10 18:42:40 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-12-10 22:18:15 +0300 |
commit | 18d354a5eb4be975c11cedfab4b17f3ef6fd33ff (patch) | |
tree | 8c3b330fad30d071238c7e3eb8d1a5ef34accf0a /source/blender | |
parent | 2debee96ec51b4a6e4f06bc6a5cb3846244725ae (diff) |
GP: Remove Object Onion Skin switch
It was confusing to have two switches.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_draw_utils.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c index a0e9d124e6b..fe950d2a228 100644 --- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c +++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c @@ -369,9 +369,6 @@ static DRWShadingGroup *DRW_gpencil_shgroup_fill_create( /* check if some onion is enabled */ bool DRW_gpencil_onion_active(bGPdata *gpd) { - if ((gpd->flag & GP_DATA_SHOW_ONIONSKINS) == 0) { - return false; - } for (bGPDlayer *gpl = gpd->layers.first; gpl; gpl = gpl->next) { if (gpl->onion_flag & GP_LAYER_ONIONSKIN) { return true; |