diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-27 04:20:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-27 04:20:27 +0300 |
commit | ed83075402c2b6df757857ead0c93bb8bf14093d (patch) | |
tree | bfb38e533d018a02bc345a58c4db6e3a041a1191 /source/blender/blenkernel/BKE_workspace.h | |
parent | 6ebe21164468fe231749bea29d5152493ea61d42 (diff) |
Tool System: set a default tool for each mode
Also clear tools for the default startup file
so changes to defaults apply to new files.
Diffstat (limited to 'source/blender/blenkernel/BKE_workspace.h')
-rw-r--r-- | source/blender/blenkernel/BKE_workspace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_workspace.h b/source/blender/blenkernel/BKE_workspace.h index 4f4ae9f375b..6902fb631e4 100644 --- a/source/blender/blenkernel/BKE_workspace.h +++ b/source/blender/blenkernel/BKE_workspace.h @@ -28,6 +28,7 @@ #include "BLI_compiler_attrs.h" struct bScreen; +struct bToolRef; struct Main; struct Scene; struct TransformOrientation; @@ -70,6 +71,8 @@ struct WorkSpaceLayout *BKE_workspace_layout_iter_circular( bool (*callback)(const struct WorkSpaceLayout *layout, void *arg), void *arg, const bool iter_backward); +void BKE_workspace_tool_remove( + struct WorkSpace *workspace, struct bToolRef *tref) ATTR_NONNULL(1, 2); /* -------------------------------------------------------------------- */ /* Getters/Setters */ |