diff options
Diffstat (limited to 'source/blender/draw/engines')
-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; |