mirror of
https://github.com/blender/blender
synced 2026-11-22 03:45:13 +03:00
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 |
||
|---|---|---|
| .. | ||
| blender | ||
| io | ||
| __init__.py | ||