fix for bpy.path.abspath() on windows when the library argument was set and its self a relative path too.
This commit is contained in:
@@ -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:],
|
||||
|
||||
Reference in New Issue
Block a user