From bac4d10174da530427343e6238be16b8a8ee3ac8 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Mon, 22 Dec 2008 10:09:56 +0000 Subject: 2.5 Small area/space api fix: space->new() callbacks now require Context pointer. Too many cases you want to initialize stuff... Also: added dummy draw function for NLA channel region, was too ugly. --- source/blender/editors/space_script/space_script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_script') diff --git a/source/blender/editors/space_script/space_script.c b/source/blender/editors/space_script/space_script.c index 6693d71b507..d9fd4159fb1 100644 --- a/source/blender/editors/space_script/space_script.c +++ b/source/blender/editors/space_script/space_script.c @@ -62,7 +62,7 @@ /* ******************** default callbacks for script space ***************** */ -static SpaceLink *script_new(void) +static SpaceLink *script_new(const bContext *C) { ARegion *ar; SpaceScript *sscript; -- cgit v1.2.3