diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-28 16:16:43 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-28 16:16:43 +0300 |
commit | 3f0616447172747ca55b3113d99067be59387c38 (patch) | |
tree | 96d157ac3b80d25bdba0ec4361cc50e3b40d0489 /source/blender/editors | |
parent | e687e6ccd2de950eab298fcb32c0926cc7a9eb67 (diff) |
2.5
Joshua asked me to check depsgraph drivers; i've added the
very minimal case, but further I'm stuck, need help.
Also made region listeners for Graph Editor work for all.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_ipo/space_ipo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_ipo/space_ipo.c b/source/blender/editors/space_ipo/space_ipo.c index c3b93280268..4ca891006c2 100644 --- a/source/blender/editors/space_ipo/space_ipo.c +++ b/source/blender/editors/space_ipo/space_ipo.c @@ -279,7 +279,7 @@ static void graph_header_area_draw(const bContext *C, ARegion *ar) UI_view2d_view_restore(C); } -static void graph_main_area_listener(ARegion *ar, wmNotifier *wmn) +static void graph_region_listener(ARegion *ar, wmNotifier *wmn) { /* context changes */ switch(wmn->category) { @@ -377,7 +377,7 @@ void ED_spacetype_ipo(void) art->regionid = RGN_TYPE_WINDOW; art->init= graph_main_area_init; art->draw= graph_main_area_draw; - art->listener= graph_main_area_listener; + art->listener= graph_region_listener; art->keymapflag= ED_KEYMAP_VIEW2D/*|ED_KEYMAP_MARKERS*/|ED_KEYMAP_ANIMATION|ED_KEYMAP_FRAMES; BLI_addhead(&st->regiontypes, art); @@ -387,7 +387,7 @@ void ED_spacetype_ipo(void) art->regionid = RGN_TYPE_HEADER; art->minsizey= HEADERY; art->keymapflag= ED_KEYMAP_UI|ED_KEYMAP_VIEW2D|ED_KEYMAP_FRAMES; - + art->listener= graph_region_listener; art->init= graph_header_area_init; art->draw= graph_header_area_draw; @@ -398,7 +398,7 @@ void ED_spacetype_ipo(void) art->regionid = RGN_TYPE_CHANNELS; art->minsizex= 200; art->keymapflag= ED_KEYMAP_UI|ED_KEYMAP_VIEW2D|ED_KEYMAP_FRAMES; - + art->listener= graph_region_listener; art->init= graph_channel_area_init; art->draw= graph_channel_area_draw; |