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_script/space_script.c | |
parent | 7eebc5113c4bc89b1b2156c1291d2e1e56a2acc0 (diff) |
Add scene argument for notifiers
From workspaces branch
Diffstat (limited to 'source/blender/editors/space_script/space_script.c')
-rw-r--r-- | source/blender/editors/space_script/space_script.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_script/space_script.c b/source/blender/editors/space_script/space_script.c index 4228635ccd6..fb8de02d3bd 100644 --- a/source/blender/editors/space_script/space_script.c +++ b/source/blender/editors/space_script/space_script.c @@ -176,7 +176,9 @@ static void script_header_region_draw(const bContext *C, ARegion *ar) ED_region_header(C, ar); } -static void script_main_region_listener(bScreen *UNUSED(sc), ScrArea *UNUSED(sa), ARegion *UNUSED(ar), wmNotifier *UNUSED(wmn)) +static void script_main_region_listener( + bScreen *UNUSED(sc), ScrArea *UNUSED(sa), ARegion *UNUSED(ar), + wmNotifier *UNUSED(wmn), const Scene *UNUSED(scene)) { /* context changes */ // XXX - Todo, need the ScriptSpace accessible to get the python script to run. |