Blender Git Commit Log

Git Commits -> Revision e7dbb4b

March 26, 2015, 14:24 (GMT)
FileBrowser: First step towards allowing partial "storage" of entries.

That code is currently pretty stupid, but we need to clearly separate
what is handled by filebrowser itself, and what is by listing code
(be it internal one or future asset engines).

Plan/idea is to have a dual cache system (one 'block' of entries - centered
on currently viewed ones -, and one 'random' FIFO for random access to any entry).

This implies filebrowser itself shall now only be aware of the number of (filtered)
entries, and it then requests entries as needed.

Also, made size of columns in filebrowser fixed (ultimately, user configurable),
since it has no more access to the whole list of entries!

Still heavy WIP.

Commit Details:

Full Hash: e7dbb4b217c29779ca6187083acdc84613e95bc2
Parent Commit: fca4cda
Lines Changed: +92, -43

3 Modified Paths:

/source/blender/editors/space_file/filelist.c (+73, -37) (Diff)
/source/blender/editors/space_file/filesel.c (+11, -2) (Diff)
/source/blender/makesdna/DNA_space_types.h (+8, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021