[Bf-blender-cvs] [02b18d73535] filebrowser_redesign: Fix missing dot for .gltf file recognition

Julian Eisel noreply at git.blender.org
Tue Aug 27 13:49:32 CEST 2019


Commit: 02b18d73535cfdfd8efcdffa7c4dea3048de5393
Author: Julian Eisel
Date:   Tue Aug 27 12:51:02 2019 +0200
Branches: filebrowser_redesign
https://developer.blender.org/rB02b18d73535cfdfd8efcdffa7c4dea3048de5393

Fix missing dot for .gltf file recognition

===================================================================

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 905905364cc..6f67681c87c 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -2117,7 +2117,7 @@ int ED_path_extension_type(const char *path)
   else if (BLI_path_extension_check(path, ".abc")) {
     return FILE_TYPE_ALEMBIC;
   }
-  else if (BLI_path_extension_check_n(path, ".obj", ".3ds", ".fbx", ".glb", "gltf", NULL)) {
+  else if (BLI_path_extension_check_n(path, ".obj", ".3ds", ".fbx", ".glb", ".gltf", NULL)) {
     return FILE_TYPE_OBJECT_IO;
   }
   else if (BLI_path_extension_check_array(path, imb_ext_image)) {



More information about the Bf-blender-cvs mailing list