[Bf-blender-cvs] [844e8fbcd0a] greasepencil-object: Cleanup: Remove unused code
Antonio Vazquez
noreply at git.blender.org
Thu Jun 1 10:37:38 CEST 2017
Commit: 844e8fbcd0a8d4186ebc2448266642240bff0a36
Author: Antonio Vazquez
Date: Wed May 31 19:16:58 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rB844e8fbcd0a8d4186ebc2448266642240bff0a36
Cleanup: Remove unused code
===================================================================
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 d70479a93cb..ce979a77999 100644
--- a/source/blender/draw/engines/gpencil/gpencil_engine.c
+++ b/source/blender/draw/engines/gpencil/gpencil_engine.c
@@ -49,7 +49,6 @@ static void GPENCIL_engine_init(void *vedata)
GPENCIL_StorageList *stl = ((GPENCIL_Data *)vedata)->stl;
const DRWContextState *draw_ctx = DRW_context_state_get();
- e_data.bmain = CTX_data_main(draw_ctx->evil_C);
/* normal fill shader */
if (!e_data.gpencil_fill_sh) {
More information about the Bf-blender-cvs
mailing list