diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-12-31 22:45:39 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-01-01 13:11:37 +0300 |
commit | 46bce66805172ff580a5cb88c5f82c2feef5a52d (patch) | |
tree | f72d776f11c2201c51c06b974575100a696ccfb6 /source/blender/editors/space_file/space_file.c | |
parent | 950f2c84a3fd946d42d305cfc40b6827fc572aab (diff) |
SpaceFile: Tweak thumbnail to avoid restarting the job needlessly.
Diffstat (limited to 'source/blender/editors/space_file/space_file.c')
-rw-r--r-- | source/blender/editors/space_file/space_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c index a4a216fb515..3f21e561546 100644 --- a/source/blender/editors/space_file/space_file.c +++ b/source/blender/editors/space_file/space_file.c @@ -218,7 +218,7 @@ static void file_refresh(const bContext *C, ScrArea *UNUSED(sa)) filelist_sort(sfile->files); } - if ((params->display == FILE_IMGDISPLAY)) { + if ((params->display == FILE_IMGDISPLAY) && filelist_need_thumbnails(sfile->files)) { if (!thumbnails_running(wm, sfile->files)) { thumbnails_start(sfile->files, C); } |