This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/release/scripts/modules
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
..
2015-06-18 08:00:46 +10:00
2015-01-29 15:35:06 +11:00
2015-01-29 15:35:06 +11:00
2012-06-19 22:17:19 +00:00
2015-09-01 13:03:38 +10:00
2015-09-01 13:03:38 +10:00
2015-06-07 17:28:02 +10:00
2015-06-07 17:28:02 +10:00