diff options
Diffstat (limited to 'power_sequencer/operators/fade_clear.py')
-rw-r--r-- | power_sequencer/operators/fade_clear.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/power_sequencer/operators/fade_clear.py b/power_sequencer/operators/fade_clear.py index 06b320b0..02516633 100644 --- a/power_sequencer/operators/fade_clear.py +++ b/power_sequencer/operators/fade_clear.py @@ -32,11 +32,7 @@ class POWER_SEQUENCER_OT_fade_clear(bpy.types.Operator): "demo": "", "description": doc_description(__doc__), "shortcuts": [ - ( - {"type": "F", "value": "PRESS", "alt": True, "ctrl": True}, - {}, - "Clear Fades", - ) + ({"type": "F", "value": "PRESS", "alt": True, "ctrl": True}, {}, "Clear Fades",) ], "keymap": "Sequencer", } @@ -53,9 +49,7 @@ class POWER_SEQUENCER_OT_fade_clear(bpy.types.Operator): fcurves = context.scene.animation_data.action.fcurves for sequence in context.selected_sequences: - animated_property = ( - "volume" if hasattr(sequence, "volume") else "blend_alpha" - ) + animated_property = "volume" if hasattr(sequence, "volume") else "blend_alpha" data_path = sequence.path_from_id() + "." + animated_property fcurve_map = { curve.data_path: curve |