diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-09-29 16:34:32 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-09-29 16:34:32 +0400 |
commit | 7f7f3f502578d1d58719b0df722998bb52d5e078 (patch) | |
tree | be0681a6afae088271814aca6682525c22eea008 | |
parent | 2597377b5cc1c7b16e32a14376a4a07089b6e0e4 (diff) |
Fix [#24046] Keyframe display in Timeline isn't updated
Reported by Alex Glawion
Add necessary object selecction notifier handling to redraw timeline properly.
-rw-r--r-- | source/blender/editors/space_time/space_time.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/space_time/space_time.c b/source/blender/editors/space_time/space_time.c index bbdd6891199..ca7dc29ad85 100644 --- a/source/blender/editors/space_time/space_time.c +++ b/source/blender/editors/space_time/space_time.c @@ -411,7 +411,7 @@ static void time_listener(ScrArea *sa, wmNotifier *wmn) } break; case NC_SCENE: - switch (wmn->data) { + switch (wmn->data) { case ND_OB_ACTIVE: case ND_FRAME: ED_area_tag_refresh(sa); @@ -432,7 +432,7 @@ static void time_listener(ScrArea *sa, wmNotifier *wmn) break; } case NC_SPACE: - switch (wmn->data) { + switch (wmn->data) { case ND_SPACE_CHANGED: ED_area_tag_refresh(sa); break; @@ -518,6 +518,7 @@ static void time_main_area_listener(ARegion *ar, wmNotifier *wmn) case NC_SCENE: switch (wmn->data) { + case ND_OB_SELECT: case ND_FRAME: case ND_FRAME_RANGE: case ND_KEYINGSET: @@ -552,6 +553,7 @@ static void time_header_area_listener(ARegion *ar, wmNotifier *wmn) case NC_SCENE: switch (wmn->data) { + case ND_OB_SELECT: case ND_FRAME: case ND_FRAME_RANGE: case ND_KEYINGSET: |