[Bf-blender-cvs] [5dcbc09] gooseberry: Strictly collapse images

Antony Riakiotakis noreply at git.blender.org
Mon Jun 15 18:47:36 CEST 2015


Commit: 5dcbc09df90b5afb4ee8c0b272d535802c45b234
Author: Antony Riakiotakis
Date:   Mon Jun 15 16:37:00 2015 +0200
Branches: gooseberry
https://developer.blender.org/rB5dcbc09df90b5afb4ee8c0b272d535802c45b234

Strictly collapse images

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

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 29f2619..7d07bf5 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -468,7 +468,7 @@ static bool is_filtered_file(struct direntry *file, const char *UNUSED(root), Fi
 		}
 	}
 
-	if (is_filtered && !(file->type & S_IFDIR) && filter->collapse_ima_seq) {
+	if (is_filtered && (file->flags & FILE_TYPE_IMAGE) && filter->collapse_ima_seq) {
 		if (file->relname) {
 			struct direntry *ofile;
 			int frame, numdigits;




More information about the Bf-blender-cvs mailing list