diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-04 05:34:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-04 05:55:50 +0300 |
commit | 80816fc71235c07c8a0ae74d015116e852459114 (patch) | |
tree | a21944bb6ae82fb54f9e9236ef6b8b3bcb2f0eb3 /source/blender/windowmanager/WM_toolsystem.h | |
parent | 2ff79613a8335c43285c8d1e710d0f9e592dd8ff (diff) |
Fix T58256: error message w/ missing Select Box tool
Support space modes not having tools.
Diffstat (limited to 'source/blender/windowmanager/WM_toolsystem.h')
-rw-r--r-- | source/blender/windowmanager/WM_toolsystem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_toolsystem.h b/source/blender/windowmanager/WM_toolsystem.h index 4318179c203..23f9161025e 100644 --- a/source/blender/windowmanager/WM_toolsystem.h +++ b/source/blender/windowmanager/WM_toolsystem.h @@ -82,6 +82,9 @@ void WM_toolsystem_ref_sync_from_context( void WM_toolsystem_init(struct bContext *C); +int WM_toolsystem_mode_from_spacetype_ex( + struct ViewLayer *view_layer, struct ScrArea *sa, int space_type, + bool *r_ensure); int WM_toolsystem_mode_from_spacetype( struct ViewLayer *view_layer, struct ScrArea *sa, int space_type); bool WM_toolsystem_key_from_context( |