Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_file/filelist.c
| Show First 20 Lines • Show All 2,796 Lines • ▼ Show 20 Lines | if (BLI_path_extension_check_n(path, ".usd", ".usda", ".usdc", NULL)) { | ||||
| return FILE_TYPE_USD; | return FILE_TYPE_USD; | ||||
| } | } | ||||
| if (BLI_path_extension_check(path, ".vdb")) { | if (BLI_path_extension_check(path, ".vdb")) { | ||||
| return FILE_TYPE_VOLUME; | return FILE_TYPE_VOLUME; | ||||
| } | } | ||||
| if (BLI_path_extension_check(path, ".zip")) { | if (BLI_path_extension_check(path, ".zip")) { | ||||
| return FILE_TYPE_ARCHIVE; | return FILE_TYPE_ARCHIVE; | ||||
| } | } | ||||
| if (BLI_path_extension_check_n(path, ".obj", ".3ds", ".fbx", ".glb", ".gltf", ".svg", NULL)) { | if (BLI_path_extension_check_n( | ||||
| path, ".obj", ".mtl", ".3ds", ".fbx", ".glb", ".gltf", ".svg", NULL)) { | |||||
| return FILE_TYPE_OBJECT_IO; | return FILE_TYPE_OBJECT_IO; | ||||
| } | } | ||||
| if (BLI_path_extension_check_array(path, imb_ext_image)) { | if (BLI_path_extension_check_array(path, imb_ext_image)) { | ||||
| return FILE_TYPE_IMAGE; | return FILE_TYPE_IMAGE; | ||||
| } | } | ||||
| if (BLI_path_extension_check(path, ".ogg")) { | if (BLI_path_extension_check(path, ".ogg")) { | ||||
| if (IMB_isanim(path)) { | if (IMB_isanim(path)) { | ||||
| return FILE_TYPE_MOVIE; | return FILE_TYPE_MOVIE; | ||||
| ▲ Show 20 Lines • Show All 1,302 Lines • Show Last 20 Lines | |||||