diff options
author | Andrea Weikert <elubie@gmx.net> | 2009-03-03 13:24:06 +0300 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2009-03-03 13:24:06 +0300 |
commit | ead30e5bc122ba327165c752a694a0ee1abf9fbf (patch) | |
tree | bd73555ae3dbb72f1a19f926913d40027f457368 /source/blender/editors | |
parent | 981dde56b4f76e198172b6636c6ea1b5f657f92d (diff) |
2.5 filebrowser
bugfix: create directories to store thumbnails if they don't exist.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_file/space_file.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c index 48f501f0173..dfa353cc6e4 100644 --- a/source/blender/editors/space_file/space_file.c +++ b/source/blender/editors/space_file/space_file.c @@ -36,6 +36,8 @@ #include "MEM_guardedalloc.h" +#include "BIF_gl.h" + #include "BLO_readfile.h" #include "BLI_blenlib.h" @@ -50,7 +52,8 @@ #include "ED_screen.h" #include "ED_fileselect.h" -#include "BIF_gl.h" +#include "IMB_imbuf_types.h" +#include "IMB_thumbs.h" #include "WM_api.h" #include "WM_types.h" @@ -414,6 +417,7 @@ void ED_file_init(void) BLI_make_file_string("/", name, BLI_gethome(), ".Bfs"); fsmenu_read_file(name); filelist_init_icons(); + IMB_thumb_makedirs(); } void ED_file_exit(void) |