Blender Git Loki
Git Commits -> Revision 649b09d
June 16, 2015, 14:59 (GMT) |
Make selection & co really working even during listing process. This commit replaces `filelist_numfiles()` by `filelist_files_ensure()`. The later also returns number of visible files (i.e. filtered ones), but also ensures filelist is filetered and sorted. Otherwise, during listing process, operators could be executed between an update of the listing job, and the refresh from the file space - i.e. at a time filelist is virtually empty (from filebrowser PoV). Also, got rid of 'need_refresh', this ended up being unused... |
Commit Details:
Full Hash: 649b09debb99d9ae91522a2c83fbf9c30790bdd8
Parent Commit: f616871
Lines Changed: +33, -48
6 Modified Paths:
/source/blender/editors/space_file/filelist.c (+11, -20) (Diff)
/source/blender/editors/space_file/filelist.h (+1, -4) (Diff)
/source/blender/editors/space_file/filesel.c (+3, -3) (Diff)
/source/blender/editors/space_file/file_draw.c (+1, -1) (Diff)
/source/blender/editors/space_file/file_ops.c (+16, -15) (Diff)
/source/blender/editors/space_file/space_file.c (+1, -5) (Diff)
/source/blender/editors/space_file/filelist.h (+1, -4) (Diff)
/source/blender/editors/space_file/filesel.c (+3, -3) (Diff)
/source/blender/editors/space_file/file_draw.c (+1, -1) (Diff)
/source/blender/editors/space_file/file_ops.c (+16, -15) (Diff)
/source/blender/editors/space_file/space_file.c (+1, -5) (Diff)