Fix T49352: Blender's file browser do not display previews.

Own stupid 'logical inversion' mistake in rBa2677100fef06af.
This commit is contained in:
Bastien Montagne 2016-09-14 17:26:42 +02:00
parent 804f6bf31e
commit 51e8c167f4
Notes: blender-bot 2023-02-14 07:36:17 +01:00
Referenced by issue #49356, Display mode thumbnails
Referenced by issue #49352, Blender's file browser do not display previews.
1 changed files with 1 additions and 1 deletions

View File

@ -1651,7 +1651,7 @@ bool filelist_file_cache_block(struct FileList *filelist, const int index)
int start_index = max_ii(0, index - (cache_size / 2));
int end_index = min_ii(nbr_entries, index + (cache_size / 2));
int i;
const bool full_refresh = (filelist->flags & FL_IS_READY) != 0;
const bool full_refresh = (filelist->flags & FL_IS_READY) == 0;
if ((index < 0) || (index >= nbr_entries)) {
// printf("Wrong index %d ([%d:%d])", index, 0, nbr_entries);