[Bf-blender-cvs] [0883e0c51d4] greasepencil-object: Add default icons for direction

Antonio Vazquez noreply at git.blender.org
Sun Jun 17 16:29:32 CEST 2018


Commit: 0883e0c51d4dde476455f6d7c13e618648bf70b8
Author: Antonio Vazquez
Date:   Sun Jun 17 16:18:24 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rB0883e0c51d4dde476455f6d7c13e618648bf70b8

Add default icons for direction

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

M	source/blender/makesrna/intern/rna_sculpt_paint.c

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

diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c
index c737c872cba..311d455d968 100644
--- a/source/blender/makesrna/intern/rna_sculpt_paint.c
+++ b/source/blender/makesrna/intern/rna_sculpt_paint.c
@@ -1084,8 +1084,8 @@ static void rna_def_particle_edit(BlenderRNA *brna)
 static void rna_def_gpencil_sculpt(BlenderRNA *brna)
 {
 	static const EnumPropertyItem prop_direction_items[] = {
-		{0, "ADD", 0, "Add", "Add effect of brush"},
-		{GP_EDITBRUSH_FLAG_INVERT, "SUBTRACT", 0, "Subtract", "Subtract effect of brush"},
+		{0, "ADD", ICON_ZOOMIN, "Add", "Add effect of brush"},
+		{GP_EDITBRUSH_FLAG_INVERT, "SUBTRACT", ICON_ZOOMOUT, "Subtract", "Subtract effect of brush"},
 		{0, NULL, 0, NULL, NULL}};
 
 	StructRNA *srna;



More information about the Bf-blender-cvs mailing list