From 92b1d3f9461e6d122d6523955cc8124559e5f36e Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 19 Dec 2008 16:36:15 +0000 Subject: 2.5: blenloader/ cleaning: - removed context usage, should not be in this module - remove G.main usage, now is passed along - still some globals in use here, goal is to get rid of those too, so that it's possible to load/save blendfiles without having to think about some global state. --- source/blender/editors/space_file/filelist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_file/filelist.h') diff --git a/source/blender/editors/space_file/filelist.h b/source/blender/editors/space_file/filelist.h index 4a4c431c323..ae3b38b4353 100644 --- a/source/blender/editors/space_file/filelist.h +++ b/source/blender/editors/space_file/filelist.h @@ -70,7 +70,7 @@ void filelist_setfiletypes(struct FileList* filelist, short has_quicktime); int filelist_islibrary (struct FileList* filelist, char* dir, char* group); void filelist_from_main(struct FileList* filelist); void filelist_from_library(struct FileList* filelist); -void filelist_append_library(struct FileList* filelist, char *dir, char* file, short flag, int idcode, struct Scene* scene); +void filelist_append_library(struct FileList* filelist, char *dir, char* file, short flag, int idcode, struct Main *mainvar, struct Scene* scene); void filelist_settype(struct FileList* filelist, int type); short filelist_gettype(struct FileList* filelist); void filelist_setipotype(struct FileList* filelist, short ipotype); -- cgit v1.2.3