[Blender Asset Tracer] External files with the same name (and path) but which live on different drives are packed as a single file #65904
Labels
No Label
legacy module
Platforms, Builds, Tests & Devices
legacy project
Blender Asset Tracer
legacy project
Platform: Windows
Priority::Normal
Status::Archived
Status::Confirmed
Status::Needs Triage
Status::Resolved
Type::Design
Type::Report
Type::To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-asset-tracer#65904
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Blender Asset Tracer (BAT) runs into problems when packing a blender file which references two or more files with the same file name and path but which exist on different drives.
The different files get combined into a single file when packed into the _outside_project folder that all external assets get bundled into when packing.
I have attached an image of a scene before and after being packed by BAT. You should see that one of the cube has it's texture change.
To reproduce this issue:
I believe that this is likely to be a Windows issue since it's the drive letters that seem to be causing the issue.
Added subscriber: @haiku
A potential change which fixes this issue for me is to change the _find_new_paths() method in pack/init.py from:
to:
Note: I have only tested this on Windows
This issue was referenced by
113b0c9bb8
Nice find, thanks for posting a solution in code.
I tweaked the code a bit and committed as
113b0c9bb8
.Changed status from 'Open' to: 'Resolved'