diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-10-16 16:08:47 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-10-16 16:08:47 +0400 |
commit | f6494ff3cf132e326cd18b4ec74b9d9ee61406fa (patch) | |
tree | cdd953ed1a304c1c32e9f01457a0eb820d0296e8 /source/blender/makesdna | |
parent | 6846abb2cae3efd3e5b9943d7eba3423cbef9da3 (diff) |
ShapeKey Editor (sub-mode of DopeSheet Editor)
Special priority request from Durian team to get this sub-editor of the DopeSheet Editor restored. Originally I was kindof planning to drop it, but obviously it still has a role!
It now supports all the modern features that the DopeSheet supports, complete with selection, muting, locking, DopeSheet summary, and all the other tools that you know and love from the other views.
Also, this no longer uses the old hacky sliders that 2.4x used (instead it uses RNA-based ones), so should function just the same as other DopeSheet views).
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_key_types.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_key_types.h b/source/blender/makesdna/DNA_key_types.h index c42e555d562..e86abf12424 100644 --- a/source/blender/makesdna/DNA_key_types.h +++ b/source/blender/makesdna/DNA_key_types.h @@ -80,6 +80,7 @@ typedef struct Key { #define KEY_RELATIVE 1 /* key->flag */ +#define KEY_DS_EXPAND 1 /* keyblock->type */ #define KEY_LINEAR 0 @@ -87,8 +88,9 @@ typedef struct Key { #define KEY_BSPLINE 2 /* keyblock->flag */ -#define KEYBLOCK_MUTE 1 -#define KEYBLOCK_DS_EXPAND 2 +#define KEYBLOCK_MUTE (1<<0) +#define KEYBLOCK_SEL (1<<1) +#define KEYBLOCK_LOCKED (1<<2) #endif |