diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-02-09 13:04:11 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-02-09 13:04:11 +0300 |
commit | 59736af8fc39246b82213ff0e9c8f917ed36a34c (patch) | |
tree | eceac8f938caace0ad166f16155ae8b5809d314f /source/blender/editors/space_action/action_draw.c | |
parent | b9063b27a9376ca276cb80f692ef8fa923a966a7 (diff) |
Animato: Added 'experimental' grouping schemes for F-Curves
When inserting keyframes on previous un-animated Objects/bones, F-Curves will be added into Action Groups into either "Object Transform" or <PoseChannel Name>. Ob->Material settings are not grouped for now to illustrate what's possible.
Old files are currently not patched to use do this, as it's still not clear whether this will be ideal.
Diffstat (limited to 'source/blender/editors/space_action/action_draw.c')
-rw-r--r-- | source/blender/editors/space_action/action_draw.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/editors/space_action/action_draw.c b/source/blender/editors/space_action/action_draw.c index 3152abcae94..2908d3b8e33 100644 --- a/source/blender/editors/space_action/action_draw.c +++ b/source/blender/editors/space_action/action_draw.c @@ -594,7 +594,7 @@ void draw_channel_names(bAnimContext *ac, SpaceAction *saction, ARegion *ar) indent= 0; special= -1; - offset= (ale->id) ? 21 : 0; + offset= (ale->id) ? 18 : 0; /* only show expand if there are any channels */ if (agrp->channels.first) { @@ -619,8 +619,8 @@ void draw_channel_names(bAnimContext *ac, SpaceAction *saction, ARegion *ar) indent = 0; - //group= (ale->grp) ? 1 : 0; - //grp= ale->grp; + group= (fcu->grp) ? 1 : 0; + grp= fcu->grp; switch (ale->ownertype) { case ANIMTYPE_NONE: /* no owner */ @@ -650,9 +650,7 @@ void draw_channel_names(bAnimContext *ac, SpaceAction *saction, ARegion *ar) sel = SEL_FCU(fcu); - // for now, we just print the full path... this needs more work! getname_anim_fcurve(name, ale->id, fcu); - //sprintf(name, "%s[%d]", fcu->rna_path, fcu->array_index); } break; |