diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-06-11 05:28:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-06-11 05:28:40 +0300 |
commit | 830cd07a9000513f7311d728e52bd5490d8f1f9f (patch) | |
tree | ad76eafb59e05d2710703282af6a7c2feacf336e | |
parent | 6868202899824a46ee28eb02df74efd76f6e3503 (diff) |
Fix gpencil weight paint mode having no active tool
-rw-r--r-- | source/blender/windowmanager/intern/wm_toolsystem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_toolsystem.c b/source/blender/windowmanager/intern/wm_toolsystem.c index 3ea58d8c4e5..0c916896560 100644 --- a/source/blender/windowmanager/intern/wm_toolsystem.c +++ b/source/blender/windowmanager/intern/wm_toolsystem.c @@ -709,12 +709,13 @@ static const char *toolsystem_default_tool(const bToolKey *tkey) case CTX_MODE_SCULPT: case CTX_MODE_PAINT_VERTEX: case CTX_MODE_PAINT_WEIGHT: - case CTX_MODE_WEIGHT_GPENCIL: case CTX_MODE_PAINT_TEXTURE: case CTX_MODE_PAINT_GPENCIL: return "builtin_brush.Draw"; case CTX_MODE_SCULPT_GPENCIL: return "builtin_brush.Push"; + case CTX_MODE_WEIGHT_GPENCIL: + return "builtin_brush.Weight"; /* end temporary hack. */ case CTX_MODE_PARTICLE: |