Renamed block_walkers to blocks2assets

This commit is contained in:
Sybren A. Stüvel 2018-03-02 10:05:51 +01:00
parent f46e761f09
commit 2bb9cffa49
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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.