From 5b4f264bad786684841e9c23256181cc39c1ccca Mon Sep 17 00:00:00 2001 From: Andrea Weikert Date: Fri, 14 May 2010 10:50:43 +0000 Subject: == 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. --- source/blender/editors/space_file/filelist.h | 3 ++- 1 file changed, 2 insertions(+), 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 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 } -- cgit v1.2.3