fix - remap main file as well when checking out
This commit is contained in:
@@ -142,6 +142,8 @@ def pack(blendfile_src, blendfile_dst, mode='FILE',
|
|||||||
for src, dst in path_copy_files:
|
for src, dst in path_copy_files:
|
||||||
# TODO. relative to project-basepath
|
# TODO. relative to project-basepath
|
||||||
paths_remap[os.path.relpath(dst, base_dir_dst).decode('utf-8')] = src.decode('utf-8')
|
paths_remap[os.path.relpath(dst, base_dir_dst).decode('utf-8')] = src.decode('utf-8')
|
||||||
|
# main file XXX, should have better way!
|
||||||
|
paths_remap[os.path.basename(blendfile_src).decode('utf-8')] = blendfile_src.decode('utf-8')
|
||||||
|
|
||||||
if paths_uuid is not None:
|
if paths_uuid is not None:
|
||||||
# TODO, multi-process SHA1 calculation (or better cache)
|
# TODO, multi-process SHA1 calculation (or better cache)
|
||||||
|
Reference in New Issue
Block a user