[Bf-blender-cvs] [dca261bb257] greasepencil-object: Cleanup: Remove redundant code

Antonio Vazquez noreply at git.blender.org
Mon Jan 1 17:23:05 CET 2018


Commit: dca261bb25793fc0f12847ac2cb9cacd07c47663
Author: Antonio Vazquez
Date:   Mon Jan 1 17:22:53 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rBdca261bb25793fc0f12847ac2cb9cacd07c47663

Cleanup: Remove redundant code

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

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

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

diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c
index d6405f9ccaa..5e36a4c76d2 100644
--- a/source/blender/editors/gpencil/gpencil_fill.c
+++ b/source/blender/editors/gpencil/gpencil_fill.c
@@ -753,7 +753,6 @@ static void gpencil_fill_exit(bContext *C, wmOperator *op)
 					BLI_remlink(&G.main->image, ima);
 					BKE_image_free(tgpf->ima);
 					MEM_SAFE_FREE(tgpf->ima);
-					tgpf->ima = NULL;
 					break;
 				}
 			}



More information about the Bf-blender-cvs mailing list