Skip to content

Commit

Permalink
fix(exporter): add logging for exporter settings
Browse files Browse the repository at this point in the history
Adds logging for exporter setting.

closes: StjerneIdioten#98
  • Loading branch information
NMC-TBone committed Dec 3, 2024
1 parent 881ab5e commit b3d571a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions addon/i3dio/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ def export_blend_to_i3d(filepath: str, axis_forward, axis_up) -> dict:
conversion_matrix=axis_conversion(to_forward=axis_forward, to_up=axis_up, ).to_4x4(),
depsgraph=depsgraph)

# Log export settings
logger.info("Exporter settings:")
for setting, value in i3d.settings.items():
logger.info(f" {setting}: {value}")

export_selection = bpy.context.scene.i3dio.selection
if export_selection == 'ALL':
_export_active_scene_master_collection(i3d)
Expand Down

0 comments on commit b3d571a

Please sign in to comment.