[Bf-blender-cvs] [35c78766069] greasepencil-object: Cleanup: Remove unused parameter
Antonio Vazquez
noreply at git.blender.org
Thu Jun 14 18:45:46 CEST 2018
Commit: 35c78766069aa00b1215b12e7d6a9403d3008e9a
Author: Antonio Vazquez
Date: Thu Jun 14 18:45:42 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rB35c78766069aa00b1215b12e7d6a9403d3008e9a
Cleanup: Remove unused parameter
===================================================================
M source/blender/draw/engines/gpencil/gpencil_draw_utils.c
===================================================================
diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
index 2d67a3cfe4a..fdbc31a4f21 100644
--- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
+++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
@@ -952,7 +952,7 @@ void DRW_gpencil_populate_buffer_strokes(GPENCIL_e_data *e_data, void *vedata, T
}
/* get alpha factor for onion strokes */
-static void gpencil_get_onion_alpha(float color[4], bGPdata *gpd, bGPDlayer *UNUSED(gpl))
+static void gpencil_get_onion_alpha(float color[4], bGPdata *gpd)
{
#define MIN_ALPHA_VALUE 0.01f
@@ -1042,7 +1042,7 @@ static void gpencil_draw_onionskins(
gpf_loop = gf;
}
- gpencil_get_onion_alpha(color, gpd, gpl);
+ gpencil_get_onion_alpha(color, gpd);
gpencil_draw_onion_strokes(cache, e_data, vedata, ob, gpd, gpl, gf, color[3], color, colflag);
}
/* -------------------------------
@@ -1094,7 +1094,7 @@ static void gpencil_draw_onionskins(
color[3] = fac;
}
- gpencil_get_onion_alpha(color, gpd, gpl);
+ gpencil_get_onion_alpha(color, gpd);
gpencil_draw_onion_strokes(cache, e_data, vedata, ob, gpd, gpl, gf, color[3], color, colflag);
if (last < gf->framenum) {
last = gf->framenum;
More information about the Bf-blender-cvs
mailing list