Debug-log skipping of packed datablocks.
This commit is contained in:
parent
c35a6fac09
commit
285a88793a
@ -71,6 +71,7 @@ def skip_packed(wrapped):
|
||||
@functools.wraps(wrapped)
|
||||
def wrapper(block: blendfile.BlendFileBlock, *args, **kwargs):
|
||||
if block.get(b'packedfile', default=False):
|
||||
log.debug('Datablock %r is packed; skipping', block.id_name)
|
||||
return
|
||||
|
||||
yield from wrapped(block, *args, **kwargs)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user