[Bf-blender-cvs] [e3f221a844c] greasepencil-object: Cleanup: unused variable

Campbell Barton noreply at git.blender.org
Thu May 24 14:04:49 CEST 2018


Commit: e3f221a844cb2fac9287133a810536ff69d988cb
Author: Campbell Barton
Date:   Thu May 24 11:16:51 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rBe3f221a844cb2fac9287133a810536ff69d988cb

Cleanup: unused variable

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

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

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

diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c
index ec5c7ddf7bd..1427a9bba4f 100644
--- a/source/blender/draw/engines/gpencil/gpencil_engine.c
+++ b/source/blender/draw/engines/gpencil/gpencil_engine.c
@@ -212,7 +212,6 @@ void GPENCIL_cache_init(void *vedata)
 	GPENCIL_StorageList *stl = ((GPENCIL_Data *)vedata)->stl;
 	const DRWContextState *draw_ctx = DRW_context_state_get();
 	Scene *scene = draw_ctx->scene;
-	ToolSettings *ts = scene->toolsettings;
 	View3D *v3d = draw_ctx->v3d;
 
 	/* Special handling for when active object is GP object (e.g. for draw mode) */



More information about the Bf-blender-cvs mailing list