[Bf-blender-cvs] [64e4adbd395] greasepencil-object: GPencil: Cleanup unused variable

Antonio Vazquez noreply at git.blender.org
Tue Apr 7 13:19:43 CEST 2020


Commit: 64e4adbd39544b1644be1f9da755f6ceb3883a9d
Author: Antonio Vazquez
Date:   Mon Apr 6 17:31:41 2020 +0200
Branches: greasepencil-object
https://developer.blender.org/rB64e4adbd39544b1644be1f9da755f6ceb3883a9d

GPencil: Cleanup unused variable

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

M	source/blender/editors/gpencil/gpencil_mesh.c

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

diff --git a/source/blender/editors/gpencil/gpencil_mesh.c b/source/blender/editors/gpencil/gpencil_mesh.c
index 18bf41e4381..cb4bdc7cd4b 100644
--- a/source/blender/editors/gpencil/gpencil_mesh.c
+++ b/source/blender/editors/gpencil/gpencil_mesh.c
@@ -135,7 +135,6 @@ static int gp_bake_mesh_animation_exec(bContext *C, wmOperator *op)
   Scene *scene = CTX_data_scene(C);
   ARegion *region = CTX_wm_region(C);
   View3D *v3d = CTX_wm_view3d(C);
-  Object *ob = CTX_data_active_object(C);
   Object *ob_gpencil = NULL;
 
   ListBase list = {NULL, NULL};



More information about the Bf-blender-cvs mailing list