[Bf-blender-cvs] [c1b321e1b8b] master: Add PovRay file extensions to our 'textual' file filtering.
Bastien Montagne
noreply at git.blender.org
Tue May 23 17:10:02 CEST 2017
Commit: c1b321e1b8b567c85cd79064d9d7d0971a0a87ec
Author: Bastien Montagne
Date: Tue May 23 17:09:19 2017 +0200
Branches: master
https://developer.blender.org/rBc1b321e1b8b567c85cd79064d9d7d0971a0a87ec
Add PovRay file extensions to our 'textual' file filtering.
===================================================================
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 83469a48165..6c33091ff01 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -1964,7 +1964,7 @@ int ED_path_extension_type(const char *path)
else if (BLI_testextensie(path, ".py")) {
return FILE_TYPE_PYSCRIPT;
}
- else if (BLI_testextensie_n(path, ".txt", ".glsl", ".osl", ".data", NULL)) {
+ else if (BLI_testextensie_n(path, ".txt", ".glsl", ".osl", ".data", ".pov", ".ini", ".mcr", ".inc", NULL)) {
return FILE_TYPE_TEXT;
}
else if (BLI_testextensie_n(path, ".ttf", ".ttc", ".pfb", ".otf", ".otc", NULL)) {
More information about the Bf-blender-cvs
mailing list