Correct error in 229ca9b8f0

This commit is contained in:
Campbell Barton
2025-05-01 12:18:40 +10:00
parent a37f2014fd
commit bf7d4dca79

View File

@@ -340,10 +340,10 @@ class Fade:
self.duration = duration
self.max_value = self.calculate_max_value(strip, fade_fcurve)
if type == 'IN':
if ty == 'IN':
self.start = Vector((strip.frame_final_start, 0.0))
self.end = Vector((strip.frame_final_start + self.duration, self.max_value))
elif type == 'OUT':
elif ty == 'OUT':
self.start = Vector((strip.frame_final_end - self.duration, self.max_value))
self.end = Vector((strip.frame_final_end, 0.0))