[Bf-blender-cvs] [71418704837] greasepencil-object: Cleanup: Remove unused code

Antonio Vazquez noreply at git.blender.org
Sat Dec 9 17:10:15 CET 2017


Commit: 71418704837ea7679ddc4b4dd76ecc24136067d2
Author: Antonio Vazquez
Date:   Sat Dec 9 16:35:21 2017 +0100
Branches: greasepencil-object
https://developer.blender.org/rB71418704837ea7679ddc4b4dd76ecc24136067d2

Cleanup: Remove unused code

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

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 bc1e20f7a69..baeeb831024 100644
--- a/source/blender/draw/engines/gpencil/gpencil_vfx.c
+++ b/source/blender/draw/engines/gpencil/gpencil_vfx.c
@@ -443,8 +443,6 @@ static void DRW_gpencil_vfx_light(
 	GPENCIL_StorageList *stl = ((GPENCIL_Data *)vedata)->stl;
 	GPENCIL_PassList *psl = ((GPENCIL_Data *)vedata)->psl;
 	DRWShadingGroup *vfx_shgrp;
-	const DRWContextState *draw_ctx = DRW_context_state_get();
-	ARegion *ar = draw_ctx->ar;
 
 	struct Gwn_Batch *vfxquad = DRW_cache_fullscreen_quad_get();
 	vfx_shgrp = DRW_shgroup_create(e_data->gpencil_vfx_light_sh, psl->vfx_light_pass);



More information about the Bf-blender-cvs mailing list