diff options
author | Richard Antalik <richardantalik@gmail.com> | 2020-07-04 01:59:09 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2020-07-04 01:59:09 +0300 |
commit | ea65c6a1535d97c80057f5a4fbef0c25a64aaec6 (patch) | |
tree | 68e5a8fefa963f9a8c28d9512475d44cef1d1aea /release | |
parent | 4bf56b37ca98637c94bc1fc66c78f136ed709afb (diff) |
Fix T78433: Adding Fade Generates Python Exception
This was caused by typo in rB67a822e08684.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_operators/sequencer.py | 4 |
1 files 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)) |