blender/release/scripts
Sybren A. Stüvel 8383a2d4cc Fix: Made bpy.path.ensure_ext compatible with compound extensions.
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
2015-09-03 13:09:16 +02:00
..
addons@3fc5b82c6b Corrections to submodules: we need to use latest tag available from master branch 2015-03-31 22:10:26 +05:00
addons_contrib@cf842d8bb7 Point submodules to RC1 tags 2015-03-11 20:49:46 +05:00
freestyle Freestyle: Fix for round/square stroke caps causing line thinning. 2015-07-23 20:29:23 +09:00
modules Fix: Made bpy.path.ensure_ext compatible with compound extensions. 2015-09-03 13:09:16 +02:00
presets Fix T44614: Maya keymap left mouse click to add cut not working. 2015-05-06 23:59:21 +02:00
startup Cleanup: pep8 2015-09-01 13:03:38 +10:00
templates_osl Cycles: Remove Westin closure. 2014-10-03 16:03:49 +02:00
templates_py Cleanup: pep8 2015-06-07 17:28:02 +10:00