From 80816fc71235c07c8a0ae74d015116e852459114 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 4 Dec 2018 13:34:11 +1100 Subject: Fix T58256: error message w/ missing Select Box tool Support space modes not having tools. --- source/blender/windowmanager/WM_toolsystem.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/windowmanager/WM_toolsystem.h') 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( -- cgit v1.2.3