From ea65c6a1535d97c80057f5a4fbef0c25a64aaec6 Mon Sep 17 00:00:00 2001 From: Richard Antalik Date: Sat, 4 Jul 2020 00:59:09 +0200 Subject: [PATCH] Fix T78433: Adding Fade Generates Python Exception This was caused by typo in rB67a822e08684. --- release/scripts/startup/bl_operators/sequencer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release/scripts/startup/bl_operators/sequencer.py b/release/scripts/startup/bl_operators/sequencer.py index 9ffb23287f8..a332f938afd 100644 --- a/release/scripts/startup/bl_operators/sequencer.py +++ b/release/scripts/startup/bl_operators/sequencer.py @@ -164,7 +164,7 @@ class SequencerFadesClear(Operator): if curve: fcurves.remove(curve) setattr(sequence, animated_property, 1.0) - sequence.invalidate('COMPOSITE') + sequence.invalidate_cache('COMPOSITE') return {'FINISHED'} @@ -233,7 +233,7 @@ class SequencerFadesAdd(Operator): self.fade_animation_clear(fade_fcurve, fades) self.fade_animation_create(fade_fcurve, fades) faded_sequences.append(sequence) - sequence.invalidate('COMPOSITE') + sequence.invalidate_cache('COMPOSITE') sequence_string = "sequence" if len(faded_sequences) == 1 else "sequences" self.report({'INFO'}, "Added fade animation to %d %s." % (len(faded_sequences), sequence_string))