Don't warn about missing readers in blend2asserts
It's still logged at debug level, but it's aimed at developers and not artists/end users.
This commit is contained in:
parent
8009ff1e47
commit
f2694df602
@ -25,7 +25,7 @@ def iter_assets(block: blendfile.BlendFileBlock) -> typing.Iterator[result.Block
|
|||||||
block_reader = _funcs_for_code[block.code]
|
block_reader = _funcs_for_code[block.code]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
if block.code not in _warned_about_types:
|
if block.code not in _warned_about_types:
|
||||||
log.warning('No reader implemented for block type %r', block.code.decode())
|
log.debug('No reader implemented for block type %r', block.code.decode())
|
||||||
_warned_about_types.add(block.code)
|
_warned_about_types.add(block.code)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user