Docs: Project Tools Update #156

Merged
Nick Alberelli merged 59 commits from :docs/project-tools-update into main 2023-10-19 22:21:50 +02:00
Showing only changes of commit c7a6542c0b - Show all commits

View File

@ -37,8 +37,7 @@ def shot_meta(strip: bpy.types.Sequence, shot: Shot) -> None:
try: try:
kitsu_3d_start = shot.data["3d_start"] kitsu_3d_start = shot.data["3d_start"]
except: except:
kitsu_3d_start = 101 # TODO REPLACE WITH BAKED GLOBAL VALUE kitsu_3d_start = bkglobals.FRAME_START
shot.name = strip.kitsu.shot_name shot.name = strip.kitsu.shot_name
shot.description = strip.kitsu.shot_description shot.description = strip.kitsu.shot_description
shot.data["frame_in"] = strip.frame_final_start shot.data["frame_in"] = strip.frame_final_start
@ -70,9 +69,7 @@ def new_shot(
nb_frames=strip.frame_final_duration, nb_frames=strip.frame_final_duration,
frame_in=frame_range[0], frame_in=frame_range[0],
frame_out=frame_range[1], frame_out=frame_range[1],
data={ data={"fps": bkglobals.FPS, "3d_start": bkglobals.FRAME_START},
"fps": bkglobals.FPS,
},
) )
if add_tasks: if add_tasks: