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>2019-05-02 10:02:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-02 10:02:05 +0300
commit6fb51ece54b6b439c70f3a9010e7a52aaf1a806d (patch)
tree5d63b6fec4752d2954530301019e3e9a64affa31 /source/blender/makesdna/DNA_workspace_types.h
parent38e34a12ac5932aa175088d28fbe9664350c1e4c (diff)
Workspace: remove global active tool
This was needed for a global top-bar to show a single tool, no longer needed now the top-bar is per-space.
Diffstat (limited to 'source/blender/makesdna/DNA_workspace_types.h')
-rw-r--r--source/blender/makesdna/DNA_workspace_types.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_workspace_types.h b/source/blender/makesdna/DNA_workspace_types.h
index 49c709b972c..1fd5e6a952a 100644
--- a/source/blender/makesdna/DNA_workspace_types.h
+++ b/source/blender/makesdna/DNA_workspace_types.h
@@ -122,10 +122,7 @@ typedef struct WorkSpace {
/**
* BAD DESIGN WARNING:
* This is a workaround for the topbar not knowing which tools spec. */
- char tools_space_type;
- /** Type is different for each space-type. */
- char tools_mode;
- char _pad[2];
+ char _pad[4];
int object_mode;