[Bf-blender-cvs] [eafc840faf2] greasepencil-object: Cleanup compiler warning

Antonio Vazquez noreply at git.blender.org
Wed Aug 9 16:09:31 CEST 2017


Commit: eafc840faf29a352471fc20028460d55dd4be71e
Author: Antonio Vazquez
Date:   Wed Aug 9 10:26:29 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rBeafc840faf29a352471fc20028460d55dd4be71e

Cleanup compiler warning

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

M	source/blender/draw/engines/gpencil/gpencil_vfx.c

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

diff --git a/source/blender/draw/engines/gpencil/gpencil_vfx.c b/source/blender/draw/engines/gpencil/gpencil_vfx.c
index 276aad85ae4..868e6e8f471 100644
--- a/source/blender/draw/engines/gpencil/gpencil_vfx.c
+++ b/source/blender/draw/engines/gpencil/gpencil_vfx.c
@@ -108,7 +108,7 @@ static void DRW_gpencil_vfx_wave(ModifierData *md, int ob_idx, GPENCIL_e_data *e
 	DRW_shgroup_uniform_float(vfx_shgrp, "period", &stl->vfx[ob_idx].vfx_wave.period, 1);
 	DRW_shgroup_uniform_float(vfx_shgrp, "phase", &stl->vfx[ob_idx].vfx_wave.phase, 1);
 	DRW_shgroup_uniform_int(vfx_shgrp, "orientation", &stl->vfx[ob_idx].vfx_wave.orientation, 1);
-	DRW_shgroup_uniform_vec2(vfx_shgrp, "wsize", &stl->vfx[ob_idx].vfx_wave.wsize, 1);
+	DRW_shgroup_uniform_vec2(vfx_shgrp, "wsize", stl->vfx[ob_idx].vfx_wave.wsize, 1);
 
 	/* set first effect sh */
 	if (cache->init_vfx_sh == NULL) {




More information about the Bf-blender-cvs mailing list