Blender Kitsu: Refactor Shot Builder #183

Merged
Nick Alberelli merged 55 commits from TinyNick/blender-studio-pipeline:feature/shot-builder-2 into main 2023-12-21 23:58:21 +01:00
Showing only changes of commit 87f984bcea - Show all commits

View File

@ -147,15 +147,17 @@ class KITSU_OT_build_new_shot(bpy.types.Operator):
shot_file_path_str = dir.joinpath(shot_task_name).__str__()
# Set Render Settings
if (
task_short_name == 'anim'
): # TODO get anim from a constant instead
if task_short_name == 'anim': # TODO get anim from a constant instead
set_render_engine(context.scene, 'BLENDER_WORKBENCH')
else:
set_render_engine(context.scene)
if bkglobals.OUTPUT_COL_CREATE.get(task_short_name):
output_col = task_type_output_collection(context.scene, shot, task_type)
output_col = task_type_output_collection( # TODO imporve
context.scene, shot, task_type
)
if task_short_name == 'anim':
link_camera_rig(context.scene, output_col)
print("Create shot with the following details") # TODO Remove
print(f"Seq Name: '{seq.name}' Seq ID: '{self.seq_id}'")