diff options
author | Andrea Weikert <elubie@gmx.net> | 2010-05-14 14:50:43 +0400 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2010-05-14 14:50:43 +0400 |
commit | 5b4f264bad786684841e9c23256181cc39c1ccca (patch) | |
tree | 75e45eff38cfbc396167ea5308b1a45f41b82aa9 /source/blender/editors/space_file/filelist.h | |
parent | 8b4b68becb710e687d8093685d1463a39ca350fe (diff) |
== filebrowser ==
* small update for thumbnails, now the thumbnail thread only runs when the filebrowser is in thumbnail view. (Thread was still running previously, even if it did nothing)
* this allows workaround for slower network drives, so the user can prevent thumbnail generation when not displaying them.
Diffstat (limited to 'source/blender/editors/space_file/filelist.h')
-rw-r--r-- | source/blender/editors/space_file/filelist.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/filelist.h b/source/blender/editors/space_file/filelist.h index 6d6854e4433..b2a86b9c764 100644 --- a/source/blender/editors/space_file/filelist.h +++ b/source/blender/editors/space_file/filelist.h @@ -85,7 +85,8 @@ void folderlist_pushdir(struct ListBase* folderlist, const char *dir); int folderlist_clear_next(struct SpaceFile* sfile); void thumbnails_stop(struct FileList* filelist, const struct bContext* C); -void thumbnails_start(struct FileList* filelist, FileSelectParams *params, const struct bContext* C); +void thumbnails_start(struct FileList* filelist, const struct bContext* C); +int thumbnails_running(struct FileList* filelist, const struct bContext* C); #ifdef __cplusplus } |