## BAT v1.22 — Sequence Packing ### Highlights **Pack entire shot sequences in one go.** Select a sequence folder, BAT finds the latest published blend files across all shots, traces and deduplicates shared dependencies, and packs everything into a single ZIP. ### New features #### Blender addon - **Pack Sequence operator** (`File > External Data > BAT > BAT - Pack Sequence`) — browse to a sequence folder, scan for latest published blend files, review and toggle individual shots, export to ZIP - **Studio template system** — dropdown to select folder conventions per studio (Autour de Minuit, La Cabane Productions). Templates define where to look for published files and which task types are available - **Progress indicator** — cursor progress bar during tracing and file transfer on all pack operators - **Auto-named output** — ZIP filename inferred from the scanned folder name #### CLI - New `bat pack-sequence -t output.zip file1.blend file2.blend ...` subcommand for packing multiple blend files with unambiguous argument parsing - Old `bat pack --sequence` still works but is deprecated ### Improvements - Blender 5.0 compatibility fixes (DNA struct changes for nodes, modifiers, sequencer) - Console logging for all pack operations (trace progress, asset counts, transfer status) - ZIP write start/finish logging - `pack-info.txt` now lists all blend files when packing a sequence ### Bug fixes - Fixed folder matching using prefix instead of exact match (e.g. `Publish_old` could be picked over `Publish`) - Fixed Windows UNC and drive letter path normalization in `bpathlib.make_absolute()` - Fixed `os.path.commonpath` crash when blend files span multiple drives - Fixed progress bar getting stuck on pack failure (missing `progress_end()` cleanup) - Fixed ZIP error handler swallowing tracebacks - Added per-shot error isolation in sequence scan (one broken folder no longer aborts the entire scan) - Deduplicate blend file paths when same file appears in both positional arg and `--sequence` ### Testing - 28 new tests for sequence packing (`tests/test_sequence_pack.py`) - 0 regressions on existing test suite