diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-10-13 06:21:18 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-10-13 06:21:18 +0400 |
commit | 7171c5928e6bece26d3a3dde41c088e77dbba423 (patch) | |
tree | 9aeb05460fd1564be93aab8fadc4ee90c15b1d94 /source/blender/editors/space_graph | |
parent | 1aeb98a3c21f8362f2f5607ccc554a9eceb5b4af (diff) |
Changing the animation editor filters should now result in the editors updating in realtime afterwards again.
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r-- | source/blender/editors/space_graph/graph_header.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/source/blender/editors/space_graph/graph_header.c b/source/blender/editors/space_graph/graph_header.c index ac1378af859..8d8c8702987 100644 --- a/source/blender/editors/space_graph/graph_header.c +++ b/source/blender/editors/space_graph/graph_header.c @@ -244,15 +244,8 @@ enum { static void do_graph_buttons(bContext *C, void *arg, int event) { - switch (event) { - case B_MODECHANGE: /* change mode with mode selector */ - ED_area_tag_refresh(CTX_wm_area(C)); - /* no break, as we need redraw flush too... */ - - case B_REDR: - ED_area_tag_redraw(CTX_wm_area(C)); - break; - } + ED_area_tag_refresh(CTX_wm_area(C)); + ED_area_tag_redraw(CTX_wm_area(C)); } |