Tool System: show manipulators at startup

Support duplicating, switching workspaces too.
This commit is contained in:
2017-11-27 18:15:47 +11:00
parent ee99d1453a
commit d4161845b2
6 changed files with 130 additions and 25 deletions

View File

@@ -66,6 +66,7 @@ struct ImageFormatData;
struct ARegion;
struct ScrArea;
struct Main;
struct bToolDef;
#ifdef WITH_INPUT_NDOF
struct wmNDOFMotionData;
@@ -563,6 +564,13 @@ bool WM_event_is_tablet(const struct wmEvent *event);
bool WM_event_is_ime_switch(const struct wmEvent *event);
#endif
/* wm_toolsystem.c */
void WM_toolsystem_unlink(struct bContext *C, struct WorkSpace *workspace);
void WM_toolsystem_link(struct bContext *C, struct WorkSpace *workspace);
void WM_toolsystem_set(struct bContext *C, const struct bToolDef *tool);
void WM_toolsystem_init(struct bContext *C);
#ifdef __cplusplus
}
#endif