diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-06 05:40:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-06 05:40:54 +0400 |
commit | 30d180ff0d18217ed860afb3f63a38d536b41790 (patch) | |
tree | 9602181a42d3ce2a50d25e4ce84be5cb6b42e313 /release/scripts/modules/bpy/__init__.py | |
parent | 46d88bb8037f58220aae2397cb893ff1726aa94f (diff) |
bugfix [#23194] export UVs miss the extension file
also made all other exporters do this.
Made some internal changes.
- moved path functions from bpy.utils to bpy.path (similar to os.path)
- added functions...
bpy.path.ensure_ext(path, ".ext", case_sensitive=False) # simple function to ensure the extension is set.
bpy.path.resolve_ncase(path) # useful for importing scenes made on windows where the path case doesnt match the files.
Diffstat (limited to 'release/scripts/modules/bpy/__init__.py')
-rw-r--r-- | release/scripts/modules/bpy/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy/__init__.py b/release/scripts/modules/bpy/__init__.py index 1e6db441599..3431054413e 100644 --- a/release/scripts/modules/bpy/__init__.py +++ b/release/scripts/modules/bpy/__init__.py @@ -26,7 +26,7 @@ data = _bpy.data context = _bpy.context # python modules -from bpy import utils +from bpy import utils, path from bpy import ops as _ops_module |