diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-18 10:35:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-18 10:40:52 +0300 |
commit | 987d1df57159afd57f33d7e58681be2fcdebda16 (patch) | |
tree | f782562c40bc1bf3fe23a455779f7e30d4cd8559 /source/blender/windowmanager/WM_api.h | |
parent | 8faa59441371311a435b80487fe81eb60ea2e4fe (diff) |
Tool System: store the active tool in ScrArea
Without this we need to have the context to get the
(space_type, mode) args for an active tool lookup.
For event handling & poll its more convenient to have direct access.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 39132184371..afa6e71e610 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -653,6 +653,9 @@ void WM_tooltip_clear(struct bContext *C, struct wmWindow *win); void WM_tooltip_init(struct bContext *C, struct wmWindow *win); void WM_tooltip_refresh(struct bContext *C, struct wmWindow *win); +void WM_toolsystem_refresh_screen_area(struct WorkSpace *workspace, struct Scene *scene, struct ScrArea *sa); +void WM_toolsystem_refresh_screen_all(struct Main *bmain); + #ifdef __cplusplus } #endif |