Addon: log BAT pack parameters

This can help to debug issues.

Note that these are logged at `INFO` level, and thus probably won't be
seen with Python's default logging configuration.
This commit is contained in:
Sybren A. Stüvel 2024-01-05 11:25:17 +01:00
parent a6f6f10239
commit e4f5dff21c

View File

@ -224,6 +224,11 @@ def copy( # type: ignore
# these, Strict Pointer Mode is disabled. # these, Strict Pointer Mode is disabled.
submodules.blendfile.set_strict_pointer_mode(False) submodules.blendfile.set_strict_pointer_mode(False)
log.info("BAT pack parameters:")
log.info("base_blendfile = %r", base_blendfile)
log.info("project = %r", project)
log.info("target = %r", target)
if packer_kwargs is None: if packer_kwargs is None:
packer_kwargs = {} packer_kwargs = {}
packer = packer_class( packer = packer_class(