[Blender-Kitsu] Fix Frame Start & Frame End Calculation #46
@ -337,18 +337,11 @@ def _calc_kitsu_frame_start(self):
|
||||
Calculates strip.kitsu_frame_start, little hack because it seems like we cant access the strip from a property group
|
||||
But we need acess to seqeuence properties.
|
||||
"""
|
||||
# self.frame_final_start = 50
|
||||
# self.frame_start = 60
|
||||
# self.kitsu.frame_start_offset = 10
|
||||
|
||||
offset_start = self.frame_final_start - self.frame_start # 50 - 60 = -10
|
||||
|
||||
frame_start_final = (
|
||||
bkglobals.FRAME_START - self.kitsu.frame_start_offset + offset_start
|
||||
kitsu_frame_start = (
|
||||
bkglobals.FRAME_START - self.kitsu.frame_start_offset
|
||||
)
|
||||
# 101 - (-10) +(-10) = 101.
|
||||
|
||||
return int(frame_start_final)
|
||||
return int(kitsu_frame_start)
|
||||
|
||||
|
||||
def _calc_kitsu_frame_end(self):
|
||||
|
Loading…
Reference in New Issue
Block a user