Commit: 7f59c846a780db12903a724cf4131d6c43cc8a75
Author: Bastien Montagne
Date:   Fri May 29 10:38:55 2015 +0200
Branches: asset-experiments
https://developer.blender.org/rB7f59c846a780db12903a724cf4131d6c43cc8a75

Add comment about why we need to store fileselection state outside of filelist 
items now.

===================================================================

M       source/blender/editors/space_file/filelist.c

===================================================================

diff --git a/source/blender/editors/space_file/filelist.c 
b/source/blender/editors/space_file/filelist.c
index 519e8c6..d5dd592 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -288,6 +288,10 @@ typedef struct FileList {
 
        struct FileListEntryCache filelist_cache;
 
+       /* We need to keep those info outside of actual filelist items, because 
those are no more persistent
+        * (only generated on demand, and freed as soon as possible).
+        * Persistent part (mere list of paths + stat info) is kept as small as 
possible, and filebrowser-agnostic.
+        */
        GHash *selection_state;
 
        short max_recursion;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to