Cleanup: Remove unused field

This commit is contained in:
Antonioya
2018-08-31 09:54:35 +02:00
parent ac9e1e692c
commit ca73883e19

View File

@@ -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 */