Move Anim_Setup
module into Blender_Kitsu
#5
@ -62,11 +62,12 @@ def editorial_export_get_latest(self, context:bpy.types.Context):
|
|||||||
|
|
||||||
# Update shift frame range prop.
|
# Update shift frame range prop.
|
||||||
frame_in = shot.frame_in
|
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.
|
# Set sequence strip start kitsu data.
|
||||||
for strip in scene.sequence_editor.sequences_all:
|
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}")
|
self.report({"INFO"}, f"Loaded latest edit: {latest_file.name}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user