diff options
author | Bastien Montagne <bastien@blender.org> | 2020-11-02 17:10:38 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-11-02 17:10:38 +0300 |
commit | b1213e8cf91667d6b35adade71c0511d0d7746b5 (patch) | |
tree | c9ea87446839547c1fa00461de4759e5f3e8b58a /source/blender/editors/space_file/filelist.c | |
parent | dca65390f056051ae02efe6a2b7ec82a8c26d2ac (diff) |
Add comment about size of generated previews of filebrowser thumnails.
Diffstat (limited to 'source/blender/editors/space_file/filelist.c')
-rw-r--r-- | source/blender/editors/space_file/filelist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c index faa23bc4f83..465f05246ca 100644 --- a/source/blender/editors/space_file/filelist.c +++ b/source/blender/editors/space_file/filelist.c @@ -1294,6 +1294,8 @@ static void filelist_cache_preview_runf(TaskPool *__restrict pool, void *taskdat } IMB_thumb_path_lock(preview->path); + /* Always generate biggest preview size for now, it's simpler and avoids having to re-generate in + * case user switch to a biger preview size... */ preview->img = IMB_thumb_manage(preview->path, THB_LARGE, source); IMB_thumb_path_unlock(preview->path); |