Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / blender / editors / space_action / space_action.c
index b7a3df5..275ac4e 100644 (file)
@@ -243,7 +243,7 @@ static void action_channel_area_draw(const bContext *C, ARegion *ar)
        
        /* data */
        if (ANIM_animdata_get_context(C, &ac)) {
-               draw_channel_names((bContext *)C, &ac, saction, ar);
+               draw_channel_names(C, &ac, saction, ar);
        }
        
        /* reset view matrix */
@@ -294,7 +294,6 @@ static void action_channel_area_listener(ARegion *ar, wmNotifier *wmn)
                case NC_SCENE:
                        switch(wmn->data) {
                                case ND_OB_ACTIVE:
-                               case ND_FRAME:
                                        ED_region_tag_redraw(ar);
                                        break;
                        }
@@ -372,10 +371,6 @@ static void action_listener(ScrArea *sa, wmNotifier *wmn)
                        }*/
                        ED_area_tag_refresh(sa);
                        break;
-               case NC_SPACE:
-                       if(wmn->data == ND_SPACE_DOPESHEET)
-                               ED_area_tag_redraw(sa);
-                       break;
        }
 }