diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-24 11:05:43 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-24 11:05:43 +0400 |
commit | 6a4b9298c80d0f27637f88cca0ad9f05040608d3 (patch) | |
tree | b53d155d0339d16b743ae1ed483786ab79393788 /source/blender/editors/space_file/filelist.h | |
parent | 99643037caef3539fdac807b22431bd6cc5deba7 (diff) |
patch [#23968] filter_filetypes property to allow operators to filter by file extensions in the file selector
modified the patch to store the string internally rather then an array of allocated string pointers, less hassle with memory allocation.
changed to use fnmatch, so *.foo is needed (not .foo as with the patch)
Diffstat (limited to 'source/blender/editors/space_file/filelist.h')
-rw-r--r-- | source/blender/editors/space_file/filelist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_file/filelist.h b/source/blender/editors/space_file/filelist.h index b2a86b9c764..9dd7ab26625 100644 --- a/source/blender/editors/space_file/filelist.h +++ b/source/blender/editors/space_file/filelist.h @@ -58,6 +58,7 @@ void filelist_setdir(struct FileList* filelist, const char *dir); struct direntry * filelist_file(struct FileList* filelist, int index); void filelist_hidedot(struct FileList* filelist, short hide); void filelist_setfilter(struct FileList* filelist, unsigned int filter); +void filelist_setfilter_types(struct FileList* filelist, const char *filter_glob); void filelist_filter(struct FileList* filelist); void filelist_swapselect(struct FileList* filelist); void filelist_imgsize(struct FileList* filelist, short w, short h); |