Blender Kitsu: Refactor Shot Builder #183
@ -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}'")
|
||||
|
Loading…
Reference in New Issue
Block a user