diff options
author | Joshua Leung <aligorith@gmail.com> | 2014-06-24 09:52:40 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2014-06-24 09:53:13 +0400 |
commit | 9ca0c7eea3cc2cdda9d6c6014a565372230a059e (patch) | |
tree | ad194887edfe11ff6b35c9cb15b38293f0fe3de2 /source/blender/editors/space_action/space_action.c | |
parent | afaf6e8d71fb205378eb9f160247e3734d68cef0 (diff) |
Ctrl-F now activates the filter-by-name functionality for Animation Editors
Diffstat (limited to 'source/blender/editors/space_action/space_action.c')
-rw-r--r-- | source/blender/editors/space_action/space_action.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/editors/space_action/space_action.c b/source/blender/editors/space_action/space_action.c index 69eeac69e85..7ca8968a705 100644 --- a/source/blender/editors/space_action/space_action.c +++ b/source/blender/editors/space_action/space_action.c @@ -476,7 +476,14 @@ static void action_header_area_listener(bScreen *UNUSED(sc), ScrArea *UNUSED(sa) break; case NC_ANIMATION: switch (wmn->data) { - case ND_KEYFRAME: + case ND_ANIMCHAN: /* set of visible animchannels changed */ + /* NOTE: for now, this should usually just mean that the filters changed + * It may be better if we had a dedicated flag for that though + */ + ED_region_tag_redraw(ar); + break; + + case ND_KEYFRAME: /* new keyframed added -> active action may have changed */ //saction->flag |= SACTION_TEMP_NEEDCHANSYNC; ED_region_tag_redraw(ar); break; |