diff options
author | Andrea Weikert <elubie@gmx.net> | 2009-03-12 22:36:59 +0300 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2009-03-12 22:36:59 +0300 |
commit | 432171fd99933f3aa4495bbc6e4b9a2c1df135a6 (patch) | |
tree | 30bb067788bdd7fd2e8c1aae45e3686a135bb887 /source/blender/editors/space_file/space_file.c | |
parent | 8420089d8bc5ca07c52c0984d4f0c6757b56d5b7 (diff) |
2.5 filebrowser
- better encapsulation for fsmenu to make it easier to remove global later.
- cleaned up fsmenu code to use just one global
- on file_exec current directory gets added to recent.
- save last 10 recent files in .Bfs too.
Diffstat (limited to 'source/blender/editors/space_file/space_file.c')
-rw-r--r-- | source/blender/editors/space_file/space_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c index d68cde85554..b19245cba06 100644 --- a/source/blender/editors/space_file/space_file.c +++ b/source/blender/editors/space_file/space_file.c @@ -431,13 +431,13 @@ void ED_file_init(void) { char name[FILE_MAX]; BLI_make_file_string("/", name, BLI_gethome(), ".Bfs"); - fsmenu_read_file(name); + fsmenu_read_file(fsmenu_get(), name); filelist_init_icons(); IMB_thumb_makedirs(); } void ED_file_exit(void) { - fsmenu_free(); + fsmenu_free(fsmenu_get()); filelist_free_icons(); } |