Merged changes in the trunk up to revision 51853.
[blender-staging.git] / source / blender / editors / space_file / filelist.c
index b505fed7baa49e16b6fac1d10cecd2071780e5d8..0b5f636ceddfde85e433af21959e05b909bfd4e1 100644 (file)
@@ -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;