From bf7d4dca799e534e08ddff403f81b9105378d907 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 1 May 2025 12:18:40 +1000 Subject: [PATCH] Correct error in 229ca9b8f0246207468c959058c9908b03c98f93 --- scripts/startup/bl_operators/sequencer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/startup/bl_operators/sequencer.py b/scripts/startup/bl_operators/sequencer.py index c61f6cf4f4f..e0ad42fa509 100644 --- a/scripts/startup/bl_operators/sequencer.py +++ b/scripts/startup/bl_operators/sequencer.py @@ -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))