blender/scripts/addons_core/io_scene_gltf2
Eitan Traurig ebbd2ab38d UI: I/O: Match format labels with Import menu
Part of https://projects.blender.org/blender/blender/issues/162410
Add extensions dynamically to format labels rather than having the
extension list hardcoded and duplicated.

Extensions are added to the label dynamically based off the FileHandler
bl_file_extensions field which is the source of truth now. This allows
the extension list to be included for the Import and Export menu, and
relevant add menus, but not the UI List for collection export.

Details:
- Several extensions: replace ; by / (.glb;.gltf -> .glb/.gltf).
- Two or more extensions starting with the same first three letters:
concatenate with as many common letters as possible, and add *
(.usd;.usda;.usdc;.usdz -> .usd*).

Pull Request: https://projects.blender.org/blender/blender/pulls/163438
2026-09-14 21:01:31 +02:00
..
blender Fix: glTF: normalize image path before existence check 2026-09-10 17:35:02 +02:00
io glTF: Hooks: display full traceback when Exception occurs 2026-09-10 11:22:37 +02:00
__init__.py UI: I/O: Match format labels with Import menu 2026-09-14 21:01:31 +02:00