diff options
Diffstat (limited to 'source/blender/windowmanager/WM_toolsystem.h')
-rw-r--r-- | source/blender/windowmanager/WM_toolsystem.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/windowmanager/WM_toolsystem.h b/source/blender/windowmanager/WM_toolsystem.h index 96094e9e7ef..e9ad216073e 100644 --- a/source/blender/windowmanager/WM_toolsystem.h +++ b/source/blender/windowmanager/WM_toolsystem.h @@ -85,16 +85,19 @@ void WM_toolsystem_ref_sync_from_context(struct Main *bmain, void WM_toolsystem_init(struct bContext *C); -int WM_toolsystem_mode_from_spacetype(struct ViewLayer *view_layer, +int WM_toolsystem_mode_from_spacetype(const struct Scene *scene, + struct ViewLayer *view_layer, struct ScrArea *area, int space_type); -bool WM_toolsystem_key_from_context(struct ViewLayer *view_layer, +bool WM_toolsystem_key_from_context(const struct Scene *scene, + struct ViewLayer *view_layer, struct ScrArea *area, bToolKey *tkey); void WM_toolsystem_update_from_context_view3d(struct bContext *C); void WM_toolsystem_update_from_context(struct bContext *C, struct WorkSpace *workspace, + const struct Scene *scene, struct ViewLayer *view_layer, struct ScrArea *area); @@ -145,6 +148,7 @@ void WM_toolsystem_ref_properties_init_for_keymap(struct bToolRef *tref, void WM_toolsystem_refresh_active(struct bContext *C); void WM_toolsystem_refresh_screen_area(struct WorkSpace *workspace, + const struct Scene *scene, struct ViewLayer *view_layer, struct ScrArea *area); void WM_toolsystem_refresh_screen_window(struct wmWindow *win); |