Blender Git Commit Log

Git Commits -> Revision 950f2c8

Revision 950f2c8 by Bastien Montagne (master)
January 1, 2015, 10:11 (GMT)
SpaceFile: Refactor sorting and filtering of filelist.

New code shall be more easy to maintain and extend.
Sorting is now handled quite the same as filtering, and all filtering parameters
are now packed into a sub-struct to help extending it later.

Also done some optimizations in filelist refresh, and sorting/filtering area.
Now we should avoid re-sorting and re-filtering too often, also removed
calls to those in read_xxx funcs.

Note thumbnail job is still started basically on each call to `file_refresh()`,
will be addressed in next commit.

Commit Details:

Full Hash: 950f2c84a3fd946d42d305cfc40b6827fc572aab
Parent Commit: d8bb30d
Lines Changed: +169, -138

3 Modified Paths:

/source/blender/editors/space_file/filelist.c (+140, -104) (Diff)
/source/blender/editors/space_file/filelist.h (+5, -4) (Diff)
/source/blender/editors/space_file/space_file.c (+24, -30) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021