Blender Git Commit Log

Git Commits -> Revision 4f241d3

December 31, 2014, 19:13 (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: 4f241d3d36cb3169f0b63c5880c69b27ca6159a5
Parent Commit: 6a7076c
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