Add support for Open VDB #92884
@ -6,6 +6,7 @@ changed functionality, fixed bugs).
|
||||
# Version 1.18 (in development)
|
||||
|
||||
- When logging that there is no reader implemented for a certain data-block type, the filepath of the blend file that contains that data-block is now included in the message ([#92885](https://projects.blender.org/blender/blender-asset-tracer/pulls/92885)).
|
||||
- Add support for tracing OpenVDB files ([#92884](https://projects.blender.org/blender/blender-asset-tracer/pulls/92884)).
|
||||
|
||||
|
||||
# Version 1.17 (2023-12-14)
|
||||
|
@ -245,3 +245,13 @@ def lamp(block: blendfile.BlendFileBlock) -> typing.Iterator[result.BlockUsage]:
|
||||
continue
|
||||
|
||||
yield result.BlockUsage(block, path, path_full_field=field)
|
||||
|
||||
|
||||
@dna_code("VO")
|
||||
@skip_packed
|
||||
def open_vdb(block: blendfile.BlendFileBlock) -> typing.Iterator[result.BlockUsage]:
|
||||
"""OpenVDB data blocks."""
|
||||
path, field = block.get(b"filepath", return_field=True)
|
||||
is_sequence = bool(block.get(b"is_sequence"))
|
||||
|
||||
yield result.BlockUsage(block, path, path_full_field=field, is_sequence=is_sequence)
|
||||
|
Loading…
Reference in New Issue
Block a user