mirror of
https://github.com/blender/blender
synced 2026-10-25 03:07:01 +03:00
Extensions such as ".tar.gz" are now also supported. Before this patch,
ensure_ext('demo.tar.gz', '.tar.gz') would return 'demo.tar.tar.gz'.
This results in issues with the `ExportHelper` mix-in class; clicking
an existing file in the file dialogue warns about overwriting it
(highlighting the input box in red), but then saves to a different
file.
Also added a unit test for the new behaviour.
Reviewers: mont29, campbellbarton
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D1498
|
||
|---|---|---|
| .. | ||
| batch_import.py | ||
| bl_bpy_path.py | ||
| bl_keymap_completeness.py | ||
| bl_load_addons.py | ||
| bl_load_py_modules.py | ||
| bl_mesh_modifiers.py | ||
| bl_mesh_validate.py | ||
| bl_pyapi_mathutils.py | ||
| bl_pyapi_units.py | ||
| bl_rna_defaults.py | ||
| bl_rna_manual_reference.py | ||
| bl_rst_completeness.py | ||
| bl_run_operators.py | ||
| bl_test.py | ||
| CMakeLists.txt | ||
| cycles_render_tests.py | ||
| pep8.py | ||
| rna_array.py | ||
| rna_info_dump.py | ||
| rst_to_doctree_mini.py | ||