mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T71596: Bug in io_utils api breaking only on windows.
Stupid mistake, 'original' filepath is a blender-flavored one, with potentially weird things like the '//' relative 'header'... This can work on linux (also it could have broken in other places too), but on windows that is fully invalid path and python `os.path` library just generates empty result here. Simply using proper valid path instead fixes it...
This commit is contained in:
parent
6fd2e65295
commit
df29e9c070
1 changed files with 1 additions and 1 deletions
|
|
@ -465,7 +465,7 @@ def path_reference(
|
|||
if copy_subdir:
|
||||
subdir_abs = os.path.join(subdir_abs, copy_subdir)
|
||||
|
||||
filepath_cpy = os.path.join(subdir_abs, os.path.basename(filepath))
|
||||
filepath_cpy = os.path.join(subdir_abs, os.path.basename(filepath_abs))
|
||||
|
||||
copy_set.add((filepath_abs, filepath_cpy))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue