chore: snapshot workflow migration progress

This commit is contained in:
2026-04-12 11:49:04 +02:00
parent 0cd02513d5
commit 3e810c74a3
163 changed files with 31774 additions and 2753 deletions
@@ -22,6 +22,7 @@ from _blender_scene import (
apply_sharp_edges_from_occ,
setup_shadow_catcher,
)
from _blender_template_inputs import apply_template_inputs
def setup_scene(args, lap_fn: Callable[[str], None]) -> None:
@@ -41,6 +42,7 @@ def _setup_mode_b(args, lap_fn: Callable[[str], None]) -> None:
"""MODE B: Template-based render — load .blend, import into collection."""
print(f"[blender_render] Opening template: {args.template_path}")
bpy.ops.wm.open_mainfile(filepath=args.template_path)
apply_template_inputs(getattr(args, "template_inputs", None))
lap_fn("template_load")
target_col = ensure_collection(args.target_collection)