Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2009-10-13 06:21:18 +0400
committerJoshua Leung <aligorith@gmail.com>2009-10-13 06:21:18 +0400
commit7171c5928e6bece26d3a3dde41c088e77dbba423 (patch)
tree9aeb05460fd1564be93aab8fadc4ee90c15b1d94 /source/blender/editors/space_nla
parent1aeb98a3c21f8362f2f5607ccc554a9eceb5b4af (diff)
Changing the animation editor filters should now result in the editors updating in realtime afterwards again.
Diffstat (limited to 'source/blender/editors/space_nla')
-rw-r--r--source/blender/editors/space_nla/nla_header.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/source/blender/editors/space_nla/nla_header.c b/source/blender/editors/space_nla/nla_header.c
index 4eb9fac5cb8..be0b4381f00 100644
--- a/source/blender/editors/space_nla/nla_header.c
+++ b/source/blender/editors/space_nla/nla_header.c
@@ -73,8 +73,8 @@
/* button events */
enum {
- B_REDR = 0,
-} eActHeader_ButEvents;
+ B_REDR = 1,
+} eNLAHeader_ButEvents;
/* ************************ header area region *********************** */
@@ -203,11 +203,8 @@ static void nla_addmenu(bContext *C, uiLayout *layout, void *arg_unused)
static void do_nla_buttons(bContext *C, void *arg, int event)
{
- switch (event) {
- 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));
}