Page Menu
Home
Search
Configure Global Search
Log In
Differential
D3518
Diff 11346
blender_asset_tracer/trace/modifier_walkers.py
Changeset View
Since the only difference between the calls is the extension, it's probably better to just have a little dict lookup, like:
extensions = { cdefs.PTCACHE_FILE_PTCACHE: cdefs.PTCACHE_EXT, cdefs.PTCACHE_FILE_OPENVDB: cdefs.PTCACHE_EXT_VDB }