diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-09-12 14:34:19 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-09-12 23:15:19 +0300 |
commit | d7f594ae3a33b4117466f945b98b4bcfe03a644f (patch) | |
tree | 76b05e7ac7dc683d0da84a1c93cf150db927390f /source/blender/editors/interface | |
parent | a1d61c1c840227de326f3fff50a92d009bf83939 (diff) |
GPencil: New set of Brush icons
Added: Airbrush and Chisel
Changed: Marker
Design: @mendio
Subscribers: mendio
Differential Revision: https://developer.blender.org/D5774
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_icons.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_icons.c b/source/blender/editors/interface/interface_icons.c index 085ae5bdb93..bbf55dc2213 100644 --- a/source/blender/editors/interface/interface_icons.c +++ b/source/blender/editors/interface/interface_icons.c @@ -554,6 +554,8 @@ static void init_brush_icons(void) INIT_BRUSH_ICON(ICON_GPBRUSH_BLOCK, gp_brush_block); INIT_BRUSH_ICON(ICON_GPBRUSH_MARKER, gp_brush_marker); INIT_BRUSH_ICON(ICON_GPBRUSH_FILL, gp_brush_fill); + INIT_BRUSH_ICON(ICON_GPBRUSH_AIRBRUSH, gp_brush_airbrush); + INIT_BRUSH_ICON(ICON_GPBRUSH_CHISEL, gp_brush_chisel); INIT_BRUSH_ICON(ICON_GPBRUSH_ERASE_SOFT, gp_brush_erase_soft); INIT_BRUSH_ICON(ICON_GPBRUSH_ERASE_HARD, gp_brush_erase_hard); INIT_BRUSH_ICON(ICON_GPBRUSH_ERASE_STROKE, gp_brush_erase_stroke); @@ -2060,6 +2062,12 @@ static int ui_id_brush_get_icon(const bContext *C, ID *id) case GP_BRUSH_ICON_FILL: br->id.icon_id = ICON_GPBRUSH_FILL; break; + case GP_BRUSH_ICON_AIRBRUSH: + br->id.icon_id = ICON_GPBRUSH_AIRBRUSH; + break; + case GP_BRUSH_ICON_CHISEL: + br->id.icon_id = ICON_GPBRUSH_CHISEL; + break; case GP_BRUSH_ICON_ERASE_SOFT: br->id.icon_id = ICON_GPBRUSH_ERASE_SOFT; break; |