From 0215911a9bd141d0cdc0b2476d4e459c4e48209d Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Fri, 22 Feb 2013 01:49:51 +0000 Subject: Animation Editors: Operators to Group/Ungroup Selected F-Curves This commit introduces operators to customise the grouping of F-Curves. As groups are only available in Actions, these grouping operators only work in the Dopesheet, Action Editor, and Graph Editor (Animation) modes. To Use: * Ctrl-G = Group selected F-Curves * Alt-G = Ungroup selected F-Curves * or find these tools from the Channels menu Notes: * When invoking the grouping operator from the Channels menu, the name popup won't show up. Instead, the group(s) created will be created with the default name. To fix, you can either use the F6 operator properties edit OR manually edit the names (Ctrl-LMB on the relevant channel) --- source/blender/editors/animation/anim_filter.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/editors/animation/anim_filter.c') diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c index 655ab2bfb15..ec6172d5041 100644 --- a/source/blender/editors/animation/anim_filter.c +++ b/source/blender/editors/animation/anim_filter.c @@ -2316,6 +2316,10 @@ static size_t animdata_filter_animchan(bAnimContext *ac, ListBase *anim_data, bD items += animdata_filter_dopesheet_ob(ac, anim_data, ads, channel->data, filter_mode); break; + case ANIMTYPE_ANIMDATA: + items += animfilter_block_data(ac, anim_data, ads, channel->id, filter_mode); + break; + default: printf("ERROR: Unsupported channel type (%d) in animdata_filter_animchan()\n", channel->type); break; -- cgit v1.2.3