2.5 - Timeline now updates correctly after keyframes have been edited
authorJoshua Leung <aligorith@gmail.com>
Sat, 22 Aug 2009 03:10:52 +0000 (03:10 +0000)
committerJoshua Leung <aligorith@gmail.com>
Sat, 22 Aug 2009 03:10:52 +0000 (03:10 +0000)
source/blender/editors/space_time/space_time.c

index f18da93c35d80c0a1c34397d60b66a2b3e61357d..ce6846a448980ac488d2002005572c1473772cc3 100644 (file)
@@ -260,11 +260,15 @@ static void time_main_area_listener(ARegion *ar, wmNotifier *wmn)
 {
        /* context changes */
        switch(wmn->category) {
+               case NC_ANIMATION:
+                       ED_region_tag_redraw(ar);
+                       break;
                
                case NC_SCENE:
                        /* any scene change for now */
                        ED_region_tag_redraw(ar);
                        break;
+               
        }
 }