[Bf-blender-cvs] [f9e280dafef] greasepencil-object: Cleanup unused code

Antonio Vazquez noreply at git.blender.org
Mon Mar 12 16:48:48 CET 2018


Commit: f9e280dafef680cb4e6e7b387c16628cc5baa740
Author: Antonio Vazquez
Date:   Mon Mar 12 16:48:34 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rBf9e280dafef680cb4e6e7b387c16628cc5baa740

Cleanup unused code

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

M	source/blender/blenkernel/intern/brush.c

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

diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index 4af5c9e50ab..31dde2e9d46 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -142,7 +142,6 @@ static void brush_defaults(Brush *brush)
 	brush->draw_jitter = 0.0f;
 	brush->gp_flag |= GP_BRUSH_USE_JITTER_PRESSURE;
 	brush->gp_icon_id = GPBRUSH_CUSTOM;
-	brush->id.icon_id = 0;
 
 	/* curves */
 	brush->cur_sensitivity = curvemapping_add(1, 0.0f, 0.0f, 1.0f, 1.0f);



More information about the Bf-blender-cvs mailing list