Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2015-06-08 13:54:32 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-06-08 13:54:32 +0300
commit309c66d4c3d32e8e69394972e08dcc9f7403e52d (patch)
tree0fd0576ec6a4ff73fe006eca24bd2d6746bcba3d
parentae0612c2acbea8073f6cea98d1bae507fdcb455d (diff)
Fix issue with collapsed images during last weekly.
We need to clear the collapsed flag when it does not apply anymore, so files get displayed properly.
-rw-r--r--source/blender/editors/space_file/filelist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c
index 0df9aa01dc9..b2085368ef8 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -499,6 +499,10 @@ static bool is_filtered_file(struct direntry *file, const char *UNUSED(root), Fi
}
}
}
+ else {
+ /* may have been set in a previous filtering iteration, so always clear */
+ file->selflag &= ~FILE_SEL_COLLAPSED;
+ }
return is_filtered;
}