[Bf-blender-cvs] [d36378ab474] greasepencil-refactor: GPencil: Cleaunp compiler warning

Antonio Vazquez noreply at git.blender.org
Mon Jan 6 17:31:44 CET 2020


Commit: d36378ab474f4b1c1d626617e9dada8394f112bd
Author: Antonio Vazquez
Date:   Mon Jan 6 17:31:35 2020 +0100
Branches: greasepencil-refactor
https://developer.blender.org/rBd36378ab474f4b1c1d626617e9dada8394f112bd

GPencil: Cleaunp compiler 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 e8f45bb1cc0..da21aab6e8d 100644
--- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
+++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
@@ -1307,7 +1307,6 @@ static void gpencil_draw_strokes(GpencilBatchCache *cache,
   GPENCIL_PassList *psl = ((GPENCIL_Data *)vedata)->psl;
   GPENCIL_StorageList *stl = ((GPENCIL_Data *)vedata)->stl;
   const DRWContextState *draw_ctx = DRW_context_state_get();
-  Scene *scene = draw_ctx->scene;
   View3D *v3d = draw_ctx->v3d;
   bGPDstroke *gps;
   const bool is_multiedit = (bool)GPENCIL_MULTIEDIT_SESSIONS_ON(gpd);



More information about the Bf-blender-cvs mailing list