Blender Git Loki

Git Commits -> Revision bbfe065

April 4, 2015, 10:43 (GMT)
FileBrowser: rewrite 'entry selection' code.

Since we do not store anymore ell entries, we cannot use them to hold selection status.

So we now use a ghash in FileList struct, with entry UUID's as keys.

Also cleanuped up / refactored selection handling, filelist.c now features a nice intern
api and all other code uses it instead of accessing directly entries' selflag!

Commit Details:

Full Hash: bbfe0652eb780fdaf4a44dcbcec0b1f1eb153ff2
Parent Commit: c0748c4
Lines Changed: +112, -68

7 Modified Paths:

/source/blender/editors/space_file/filelist.c (+78, -38) (Diff)
/source/blender/editors/space_file/filelist.h (+5, -3) (Diff)
/source/blender/editors/space_file/filesel.c (+1, -1) (Diff)
/source/blender/editors/space_file/file_draw.c (+10, -8) (Diff)
/source/blender/editors/space_file/file_ops.c (+16, -16) (Diff)
/source/blender/editors/space_file/space_file.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021