chore: snapshot workflow migration progress
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user