diff options
author | Antonioya <blendergit@gmail.com> | 2018-08-31 10:54:35 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-08-31 10:54:35 +0300 |
commit | ca73883e1985ea85db4dc50da1620f247b735c03 (patch) | |
tree | 1c8892ad95ed4835bd7be308f8e0bb1acefb7384 /source | |
parent | ac9e1e692cecc98f3547386cfee5eb7d9df3b8a4 (diff) |
Cleanup: Remove unused field
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_draw_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c index 2dce51fc0ad..29544a601d5 100644 --- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c +++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c @@ -552,7 +552,7 @@ static DRWShadingGroup *DRW_gpencil_shgroup_point_create( /* add fill shading group to pass */ static void gpencil_add_fill_shgroup( GpencilBatchCache *cache, DRWShadingGroup *fillgrp, - Object *ob, bGPDlayer *UNUSED(gpl), bGPDframe *gpf, bGPDstroke *gps, + Object *ob, bGPDframe *gpf, bGPDstroke *gps, float opacity, const float tintcolor[4], const bool onion, const bool custonion) { MaterialGPencilStyle *gp_style = BKE_material_gpencil_settings_get(ob, gps->mat_nr + 1); @@ -865,7 +865,7 @@ static void gpencil_draw_strokes( /* fill */ if ((fillgrp) && (!stl->storage->simplify_fill)) { gpencil_add_fill_shgroup( - cache, fillgrp, ob, gpl, derived_gpf, gps, + cache, fillgrp, ob, derived_gpf, gps, opacity, tintcolor, false, custonion); } /* stroke */ |