Renamed block_walkers to blocks2assets
This commit is contained in:
parent
f46e761f09
commit
2bb9cffa49
@ -3,7 +3,7 @@ import pathlib
|
||||
import typing
|
||||
|
||||
from blender_asset_tracer import blendfile, bpathlib
|
||||
from . import result, block_walkers
|
||||
from . import result, blocks2assets
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
@ -38,7 +38,7 @@ class _Tracer:
|
||||
recurse_into = []
|
||||
with blendfile.BlendFile(bfilepath) as bfile:
|
||||
for block in asset_holding_blocks(bfile):
|
||||
yield from block_walkers.iter_assets(block)
|
||||
yield from blocks2assets.iter_assets(block)
|
||||
|
||||
if recursive and block.code == b'LI':
|
||||
recurse_into.append(block)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
"""Modifier handling code used in block_walkers.py
|
||||
"""Modifier handling code used in blocks2assets.py
|
||||
|
||||
The _modifier_xxx() functions all yield result.BlockUsage objects for external
|
||||
files used by the modifiers.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user