diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-06 13:08:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-07 00:43:56 +0300 |
commit | 57aea0ce19c3a27cafbe13db087c92e99edfbf0b (patch) | |
tree | fba476c6c1431526071362ef4c16075986261696 /source/blender/windowmanager/intern/wm_toolsystem.c | |
parent | 87c1893f8dffdaf4abad0b736be55c55c34cbb6e (diff) |
Paint: correct brush defaults
Diffstat (limited to 'source/blender/windowmanager/intern/wm_toolsystem.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_toolsystem.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/source/blender/windowmanager/intern/wm_toolsystem.c b/source/blender/windowmanager/intern/wm_toolsystem.c index 04a3da5f01f..093b014957e 100644 --- a/source/blender/windowmanager/intern/wm_toolsystem.c +++ b/source/blender/windowmanager/intern/wm_toolsystem.c @@ -654,21 +654,14 @@ static const char *toolsystem_default_tool(const bToolKey *tkey) switch (tkey->space_type) { case SPACE_VIEW3D: switch (tkey->mode) { - /* XXX(campbell): hard coded paint-brush names. - * Eventyally we plan to move away from using brush names as tools, - * in favor of having tool types in the toolbar, which can each select their own brush. - * so keep this as a temporary hack. - */ + /* Use the names of the enums for each brush tool. */ case CTX_MODE_SCULPT: - return "SculptDraw"; case CTX_MODE_PAINT_VERTEX: case CTX_MODE_PAINT_WEIGHT: case CTX_MODE_GPENCIL_WEIGHT: - return "Draw"; case CTX_MODE_PAINT_TEXTURE: - return "TexDraw"; case CTX_MODE_GPENCIL_PAINT: - return "Draw Pencil"; + return "Draw"; case CTX_MODE_GPENCIL_SCULPT: return "Push"; /* end temporary hack. */ |