Remove assertion that library blend files always exist
Remove an assertion that would cause BAT to raise and exception and halt when a library blend file is missing. This assertion was fine for aiding the coding of the library, but now gets in the way of tracing dependencies of partially checked-out projects.
This commit is contained in:
parent
0a5a50ccf0
commit
dd257bad6f
@ -3,6 +3,11 @@
|
||||
This file logs the changes that are actually interesting to users (new features,
|
||||
changed functionality, fixed bugs).
|
||||
|
||||
## Version 1.3.1 (in development)
|
||||
|
||||
- Remove assertion error when a library blend file linked from a Geometry Nodes modifier does not exist.
|
||||
|
||||
|
||||
## Version 1.3 (2021-02-02)
|
||||
|
||||
- When creating a BAT pack, symlinks are no longer followed. This allows BAT-packing a directory structure with symlinked files (such as a Shaman checkout).
|
||||
|
||||
@ -125,7 +125,6 @@ class BlockIterator:
|
||||
for lib_bpath, idblocks in blocks_per_lib.items():
|
||||
lib_path = bpathlib.make_absolute(lib_bpath.to_path())
|
||||
|
||||
assert lib_path.exists()
|
||||
if not lib_path.exists():
|
||||
log.warning('Library %s does not exist', lib_path)
|
||||
continue
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user