From b22405fa6f763d13feb2b28901ed8e1cf27034f2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 11 Dec 2011 19:48:56 +0000 Subject: fix for bpy.path.abspath() on windows when the library argument was set and its self a relative path too. --- release/scripts/modules/bpy/path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release/scripts') 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:], -- cgit v1.2.3