diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-14 09:29:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-14 09:29:42 +0300 |
commit | 47da01a4db1dcedcaaae1ba22626f340cb90a530 (patch) | |
tree | c199d883fc19dd7720a0c72390fa246357e33dc2 /source/blender/windowmanager/WM_toolsystem.h | |
parent | f16f2f87624a6d417c1491b0253f1ab1642010e4 (diff) |
Fix T70211: Brush keybindings failed with non-brush tool active
Diffstat (limited to 'source/blender/windowmanager/WM_toolsystem.h')
-rw-r--r-- | source/blender/windowmanager/WM_toolsystem.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/windowmanager/WM_toolsystem.h b/source/blender/windowmanager/WM_toolsystem.h index 5afa0a88560..620150ba14f 100644 --- a/source/blender/windowmanager/WM_toolsystem.h +++ b/source/blender/windowmanager/WM_toolsystem.h @@ -54,11 +54,13 @@ struct bToolRef *WM_toolsystem_ref_find(struct WorkSpace *workspace, const bTool bool WM_toolsystem_ref_ensure(struct WorkSpace *workspace, const bToolKey *tkey, struct bToolRef **r_tref); -struct bToolRef *WM_toolsystem_ref_set_by_id(struct bContext *C, - struct WorkSpace *workspace, - const bToolKey *tkey, - const char *name, - bool cycle); + +struct bToolRef *WM_toolsystem_ref_set_by_id_ex(struct bContext *C, + struct WorkSpace *workspace, + const bToolKey *tkey, + const char *name, + bool cycle); +struct bToolRef *WM_toolsystem_ref_set_by_id(struct bContext *C, const char *name); struct bToolRef_Runtime *WM_toolsystem_runtime_from_context(struct bContext *C); struct bToolRef_Runtime *WM_toolsystem_runtime_find(struct WorkSpace *workspace, |