Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-12-11 23:48:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-12-11 23:48:56 +0400
commitb22405fa6f763d13feb2b28901ed8e1cf27034f2 (patch)
tree060d7f913738a23b66d8839e84c688359ee78f10 /release/scripts/modules/bpy/path.py
parentc280002879174e3f0fe5eb91501cfa0cc407358f (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/bpy/path.py')
-rw-r--r--release/scripts/modules/bpy/path.py2
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:],