diff options
author | Andrea Weikert <elubie@gmx.net> | 2011-03-20 14:16:59 +0300 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2011-03-20 14:16:59 +0300 |
commit | e73a2020dd1450a709d8da53af9132e08c811226 (patch) | |
tree | 7930fd4934a75472cc10db8e312f25d20c641fa0 /source/blender/blenlib/BLI_storage_types.h | |
parent | 5325f3b2e989a3b94e2d9450c574e4610d2005d8 (diff) |
== filebrowser == Code cleanup
* Separate out selection flags from file type flags, was bothering me since forever ;)
* Also renamed ACTIVEFILE to SELECTED_FILE to better reflect actual usage in code.
* Fix crash introduced with last commit, better check for valid selection
Diffstat (limited to 'source/blender/blenlib/BLI_storage_types.h')
-rw-r--r-- | source/blender/blenlib/BLI_storage_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_storage_types.h b/source/blender/blenlib/BLI_storage_types.h index 0b8746b4c50..07c0ceffeb5 100644 --- a/source/blender/blenlib/BLI_storage_types.h +++ b/source/blender/blenlib/BLI_storage_types.h @@ -54,7 +54,7 @@ struct direntry{ #else struct stat s; #endif - unsigned int flags; + unsigned int flags; char size[16]; char mode1[4]; char mode2[4]; @@ -66,6 +66,7 @@ struct direntry{ void *poin; int nr; struct ImBuf *image; + unsigned int selflag; /* selection flag */ }; struct dirlink |