[Bf-blender-cvs] [7874f5e5a1e] blender2.8: Silence Grease Pencil warning

Dalai Felinto noreply at git.blender.org
Fri Aug 31 00:14:22 CEST 2018


Commit: 7874f5e5a1edea1b7ee4331c0625b0f8285e87af
Author: Dalai Felinto
Date:   Thu Aug 30 17:48:53 2018 -0300
Branches: blender2.8
https://developer.blender.org/rB7874f5e5a1edea1b7ee4331c0625b0f8285e87af

Silence Grease Pencil warning

===================================================================

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 7063d86e507..2dce51fc0ad 100644
--- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
+++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
@@ -552,8 +552,8 @@ 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 *gpl, bGPDframe *gpf, bGPDstroke *gps,
-		float opacity, const float tintcolor[4], const bool onion, const bool custonion)
+        Object *ob, bGPDlayer *UNUSED(gpl), 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);
 	if (gps->totpoints >= 3) {



More information about the Bf-blender-cvs mailing list