Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-04-29 15:30:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-29 15:30:09 +0300
commit6e76a35f07bb7e5c277347175804bb359b8f0477 (patch)
tree08b3ba9ddf39e7aadec5c838ecca9c2506e31756 /source/blender/makesdna/DNA_workspace_types.h
parentf4ba7667dc34edc3fbd1118f8f0dbe818a8e7d43 (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.h4
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;