diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-05-02 02:58:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-05-02 02:58:01 +0300 |
commit | a9d6a07d78f78ea4a3a634d81c87f8001c1d61e9 (patch) | |
tree | 2965038f25b3cde557669261125df5a4ab512165 /source/blender/editors/space_graph/space_graph.c | |
parent | 7eebc5113c4bc89b1b2156c1291d2e1e56a2acc0 (diff) |
Add scene argument for notifiers
From workspaces branch
Diffstat (limited to 'source/blender/editors/space_graph/space_graph.c')
-rw-r--r-- | source/blender/editors/space_graph/space_graph.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/space_graph/space_graph.c b/source/blender/editors/space_graph/space_graph.c index 92d44130098..980ee5aeffe 100644 --- a/source/blender/editors/space_graph/space_graph.c +++ b/source/blender/editors/space_graph/space_graph.c @@ -413,7 +413,9 @@ static void graph_buttons_region_draw(const bContext *C, ARegion *ar) ED_region_panels(C, ar, NULL, -1, true); } -static void graph_region_listener(bScreen *UNUSED(sc), ScrArea *UNUSED(sa), ARegion *ar, wmNotifier *wmn) +static void graph_region_listener( + bScreen *UNUSED(sc), ScrArea *UNUSED(sa), ARegion *ar, + wmNotifier *wmn, const Scene *UNUSED(scene)) { /* context changes */ switch (wmn->category) { @@ -468,7 +470,7 @@ static void graph_region_listener(bScreen *UNUSED(sc), ScrArea *UNUSED(sa), AReg } /* editor level listener */ -static void graph_listener(bScreen *UNUSED(sc), ScrArea *sa, wmNotifier *wmn) +static void graph_listener(bScreen *UNUSED(sc), ScrArea *sa, wmNotifier *wmn, const Scene *UNUSED(scene)) { SpaceIpo *sipo = (SpaceIpo *)sa->spacedata.first; |