Commit: 51e8c167f40c63c191ac9271fe02de78f2a49b22
Author: Bastien Montagne
Date:   Wed Sep 14 17:26:42 2016 +0200
Branches: master
https://developer.blender.org/rB51e8c167f40c63c191ac9271fe02de78f2a49b22

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

Own stupid 'logical inversion' mistake in rBa2677100fef06af.

===================================================================

M       source/blender/editors/space_file/filelist.c

===================================================================

diff --git a/source/blender/editors/space_file/filelist.c 
b/source/blender/editors/space_file/filelist.c
index b60487a..81164b8 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -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);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to