Move Anim_Setup module into Blender_Kitsu #5

Merged
Nick Alberelli merged 27 commits from :feature/merge_anim_setup_into_blender_kitsu into master 2023-04-05 17:38:41 +02:00
Showing only changes of commit 6829a61ea4 - Show all commits

View File

@ -62,11 +62,12 @@ def editorial_export_get_latest(self, context:bpy.types.Context):
# Update shift frame range prop.
frame_in = shot.frame_in
frame_3d_offset = addon_prefs.shot_builder_frame_offset
frame_3d_in = shot.data["3d_in"]
frame_3d_offset = frame_3d_in - addon_prefs.shot_builder_frame_offset
# Set sequence strip start kitsu data.
for strip in scene.sequence_editor.sequences_all:
strip.frame_start = -(frame_in) + frame_3d_offset #TODO CONFIRM LOGIC HERE
strip.frame_start = -frame_in + (strip_frame_start * 2) + frame_3d_offset
self.report({"INFO"}, f"Loaded latest edit: {latest_file.name}")