diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-29 15:30:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-29 15:30:09 +0300 |
commit | 6e76a35f07bb7e5c277347175804bb359b8f0477 (patch) | |
tree | 08b3ba9ddf39e7aadec5c838ecca9c2506e31756 /source/blender/makesdna/DNA_workspace_types.h | |
parent | f4ba7667dc34edc3fbd1118f8f0dbe818a8e7d43 (diff) |
Tool System: support data-blocks in tools
Needed so tools can set the active brush.
Diffstat (limited to 'source/blender/makesdna/DNA_workspace_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_workspace_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_workspace_types.h b/source/blender/makesdna/DNA_workspace_types.h index 1f1c69ad083..4cc3929b4ea 100644 --- a/source/blender/makesdna/DNA_workspace_types.h +++ b/source/blender/makesdna/DNA_workspace_types.h @@ -54,9 +54,11 @@ #define USE_WORKSPACE_TOOL typedef struct bToolDef { - /* either the keymap AND/OR manipulator_group must be defined. */ + /* One of these must be defined. */ char keymap[64]; char manipulator_group[64]; + char data_block[64]; + int spacetype; /* index when a tool is a member of a group */ int index; |