diff options
author | Thomas Dinges <blender@dingto.org> | 2012-11-03 22:52:44 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2012-11-03 22:52:44 +0400 |
commit | 84e8fbc1e005a1e6c93202ef21b62d7e9dc66e17 (patch) | |
tree | 1a9f2c5e90f04c20c457b45a6ef71764e2bb7263 /source/blender/editors/space_file/filelist.c | |
parent | 9b948717b019fbd8e511595bd23ed1970b077085 (diff) |
OSL / Filebrowser:
* Add .osl extension to the TEXTFILE filter, so .osl files will show up when the filter is enabled. (Text Editor -> Open Text Block)
Diffstat (limited to 'source/blender/editors/space_file/filelist.c')
-rw-r--r-- | source/blender/editors/space_file/filelist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c index 7f0af36d5d6..d8e6510a269 100644 --- a/source/blender/editors/space_file/filelist.c +++ b/source/blender/editors/space_file/filelist.c @@ -785,6 +785,7 @@ static int file_extension_type(const char *relname) } else if (BLI_testextensie(relname, ".txt") || BLI_testextensie(relname, ".glsl") || + BLI_testextensie(relname, ".osl") || BLI_testextensie(relname, ".data")) { return TEXTFILE; |