Adding .glsl and .data to the Text filtering in the File editor (with Andrea's aval)
(.data is what we use by default as a dome mesh warp format, btw)
This commit is contained in:
@@ -863,7 +863,9 @@ void filelist_setfiletypes(struct FileList* filelist, short has_quicktime)
|
||||
file->flags |= BLENDERFILE;
|
||||
} else if(BLI_testextensie(file->relname, ".py")) {
|
||||
file->flags |= PYSCRIPTFILE;
|
||||
} else if(BLI_testextensie(file->relname, ".txt")) {
|
||||
} else if(BLI_testextensie(file->relname, ".txt")
|
||||
|| BLI_testextensie(file->relname, ".glsl")
|
||||
|| BLI_testextensie(file->relname, ".data")) {
|
||||
file->flags |= TEXTFILE;
|
||||
} else if( BLI_testextensie(file->relname, ".ttf")
|
||||
|| BLI_testextensie(file->relname, ".ttc")
|
||||
|
||||
Reference in New Issue
Block a user