[Bf-blender-cvs] [4e41a44400c] blender2.8: UI: show +/- icons for fill/deep

Campbell Barton noreply at git.blender.org
Thu Aug 16 04:13:47 CEST 2018


Commit: 4e41a44400c32ef80018d3a61ab5bd0a4c5c284c
Author: Campbell Barton
Date:   Thu Aug 16 12:15:04 2018 +1000
Branches: blender2.8
https://developer.blender.org/rB4e41a44400c32ef80018d3a61ab5bd0a4c5c284c

UI: show +/- icons for fill/deep

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

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

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

diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c
index 0f3e74c567f..8ad77b88702 100644
--- a/source/blender/makesrna/intern/rna_brush.c
+++ b/source/blender/makesrna/intern/rna_brush.c
@@ -569,8 +569,8 @@ static const EnumPropertyItem *rna_Brush_direction_itemf(bContext *C, PointerRNA
 	};
 
 	static const EnumPropertyItem prop_fill_deepen_items[] = {
-		{0, "FILL", 0, "Fill", "Add effect of brush"},
-		{BRUSH_DIR_IN, "DEEPEN", 0, "Deepen", "Subtract effect of brush"},
+		{0, "FILL", ICON_ZOOMIN, "Fill", "Add effect of brush"},
+		{BRUSH_DIR_IN, "DEEPEN", ICON_ZOOMOUT, "Deepen", "Subtract effect of brush"},
 		{0, NULL, 0, NULL, NULL}
 	};



More information about the Bf-blender-cvs mailing list