diff options
author | Jacques Lucke <jacques@blender.org> | 2020-02-27 15:07:11 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-02-27 15:07:11 +0300 |
commit | aa4579c35f93ccef7090474495953727f979c698 (patch) | |
tree | 6f1f978b73f404c9768880c0d28a05c0c62cb145 /source/blender/editors/space_file | |
parent | abc040f26cb13b17ac52ea8579dc0d0d894f8bfc (diff) |
File Browser: Recognize .fountain files as text files
D6288 by @tintwotin
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r-- | source/blender/editors/space_file/filelist.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c index 28e6d95beb3..9defff74c6f 100644 --- a/source/blender/editors/space_file/filelist.c +++ b/source/blender/editors/space_file/filelist.c @@ -2181,8 +2181,17 @@ int ED_path_extension_type(const char *path) else if (BLI_path_extension_check(path, ".py")) { return FILE_TYPE_PYSCRIPT; } - else if (BLI_path_extension_check_n( - path, ".txt", ".glsl", ".osl", ".data", ".pov", ".ini", ".mcr", ".inc", NULL)) { + else if (BLI_path_extension_check_n(path, + ".txt", + ".glsl", + ".osl", + ".data", + ".pov", + ".ini", + ".mcr", + ".inc", + ".fountain", + NULL)) { return FILE_TYPE_TEXT; } else if (BLI_path_extension_check_n(path, ".ttf", ".ttc", ".pfb", ".otf", ".otc", NULL)) { |