diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-04-13 15:15:08 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-04-13 15:15:08 +0400 |
commit | 99e4e1fcb793abbd2563311dd9682bcd02e6e375 (patch) | |
tree | abed0f9662d1c61a48c4fe755d579ed800ce64f3 /source/blender/makesdna | |
parent | 54efb4c916f10a8dc8291aa33135385cef5cdd25 (diff) |
== Action Editor - Individual IPO-Curves Now Shown ==
Continuing on from my previous 'Expandable/Collapsable Action Channel' commit, this commit introduces the ability to show/hide the keyframes in each ipo-curve represented by an Action Channel.
When you expand an Action-Channel by clicking on the triangle beside its name, you will now be presented with options to show/hide the ipo-curves represented by
the Action-Channel, and/or the Constraint Channels belonging to that Action-Channel. Actual ipo-curves will not be drawn in the Action-Editor, but the keyframes
will be shown.
Screenshot:
* http://wiki.blender.org/index.php/Image:244_ActionEditor_SubTracks_01.png
Possibly Coming Soon/Further Work:
* 'Protection' options for ipo-curves (currently disabled in code, as all IPO-related
tools will need to be made aware of this)
* Sliders for IPO-Curve Channels of the active Action-Channel
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_action_types.h | 4 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_ipo_types.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h index 2f1b9ed85f0..259167b6e6e 100644 --- a/source/blender/makesdna/DNA_action_types.h +++ b/source/blender/makesdna/DNA_action_types.h @@ -95,10 +95,10 @@ typedef struct bActionChannel { struct bActionChannel *next, *prev; struct Ipo *ipo; ListBase constraintChannels; + int flag; char name[32]; /* Channel name */ int reserved1; - } bActionChannel; typedef struct bAction { @@ -127,6 +127,8 @@ typedef struct SpaceAction { #define ACHAN_HIDDEN 0x00000004 #define ACHAN_PROTECTED 0x00000008 #define ACHAN_EXPANDED 0x00000010 +#define ACHAN_SHOWIPO 0x00000020 +#define ACHAN_SHOWCONS 0x00000040 #define ACHAN_MOVED 0x80000000 /* SpaceAction flag */ diff --git a/source/blender/makesdna/DNA_ipo_types.h b/source/blender/makesdna/DNA_ipo_types.h index 434d4f4926f..441a3fc43fc 100644 --- a/source/blender/makesdna/DNA_ipo_types.h +++ b/source/blender/makesdna/DNA_ipo_types.h @@ -390,6 +390,7 @@ typedef short IPO_Channel; #define IPO_LOCK 8 #define IPO_AUTO_HORIZ 16 #define IPO_ACTIVE 32 +#define IPO_PROTECT 64 #endif |