Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-12-19 19:36:15 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-12-19 19:36:15 +0300
commit92b1d3f9461e6d122d6523955cc8124559e5f36e (patch)
treefd93ba4c70fb8b693aae3784ba1068d0f098e178 /source/blender/editors/space_file/filelist.c
parent62a03ea1b6ef84ac80e40ab092393214c6032b88 (diff)
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.
Diffstat (limited to 'source/blender/editors/space_file/filelist.c')
-rw-r--r--source/blender/editors/space_file/filelist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c
index ab27fba1863..337f553e246 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -905,9 +905,9 @@ void filelist_from_library(struct FileList* filelist)
filelist_filter(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)
{
- BLO_library_append_(&filelist->libfiledata, filelist->filelist, filelist->numfiles, dir, file, flag, idcode, scene);
+ BLO_library_append_(&filelist->libfiledata, filelist->filelist, filelist->numfiles, dir, file, flag, idcode, mainvar, scene);
}
void filelist_from_main(struct FileList *filelist)