Issues with cache files and file sequences #55007
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-asset-tracer#55007
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?
It looks like BAT doesn't handle fluid/smoke simulation caches (looking at
modifier_walkers.py
there aren't any walkers for those two types).I've also had issues packing particles caches. I think the issue is in
pack/__init__.py
around line 219:If the
asset_path
is actually a glob path (as it will be in particle caches), then it wouldn't exist so it would add it to the missing paths without continuing.In the attached zip I have a .blend file with some backed out cache files, if you try to pack it, none of the caches will get packed.
cachetest.zip
Added subscriber: @IsaacWeaver
Added subscribers: @dr.sybren, @lichtwerk
Can confirm both issues here, @dr.sybren: mind having a look?
Having a quick look at the particle/glob case, it seems we could do something like [not working fully though -- usage of 'file_sequence' prevents this]:
I'm also not sure if a
Usage
path [in case of a sequence] should always be represented by a glob?This seems like it could possibly lead to a lot of false positives? [e.g. 1-100 used in the file, but 1-1000 lying around on disk]?
@IsaacWeaver can you update your bug report with one or more example files that demonstrate this issue? Just having to unzip a file and opening/bat-packing a blend file makes it much faster for me to fix, and also ensures that I'm looking at the same issue as you are.
@dr.sybren I updated the description to include a .zip file with some backed caches.
This issue was referenced by
dfa07e19cc
Changed status from 'Open' to: 'Resolved'