diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-11 23:48:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-11 23:48:56 +0400 |
commit | b22405fa6f763d13feb2b28901ed8e1cf27034f2 (patch) | |
tree | 060d7f913738a23b66d8839e84c688359ee78f10 /release/scripts/modules | |
parent | c280002879174e3f0fe5eb91501cfa0cc407358f (diff) |
fix for bpy.path.abspath() on windows when the library argument was set and its self a relative path too.
Diffstat (limited to 'release/scripts/modules')
-rw-r--r-- | release/scripts/modules/bpy/path.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy/path.py b/release/scripts/modules/bpy/path.py index 4173d71b39c..98a3c81d65a 100644 --- a/release/scripts/modules/bpy/path.py +++ b/release/scripts/modules/bpy/path.py @@ -54,7 +54,7 @@ def abspath(path, start=None, library=None): """ if path.startswith("//"): if library: - start = abspath(_os.path.dirname(library.filepath)) + start = _os.path.dirname(abspath(library.filepath)) return _os.path.join(_os.path.dirname(_bpy.data.filepath) if start is None else start, path[2:], |