diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-14 22:42:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-14 22:43:34 +0300 |
commit | 14c160334de15c6898fd20127bcaa262d66cfe77 (patch) | |
tree | 73330a9ae079767baef819511f94211d59f153ac /release/scripts/startup/bl_operators/sequencer.py | |
parent | 19fc50ca6faf81f5e526d79b50aa0aaba35d6740 (diff) |
Cleanup: remove duplicate information in docstring
No need to document all options in the doc-string
since each option has it's own description.
Diffstat (limited to 'release/scripts/startup/bl_operators/sequencer.py')
-rw-r--r-- | release/scripts/startup/bl_operators/sequencer.py | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/release/scripts/startup/bl_operators/sequencer.py b/release/scripts/startup/bl_operators/sequencer.py index 944bfa1ffbe..32a94349b4b 100644 --- a/release/scripts/startup/bl_operators/sequencer.py +++ b/release/scripts/startup/bl_operators/sequencer.py @@ -139,13 +139,9 @@ class SequencerDeinterlaceSelectedMovies(Operator): class SequencerFadesClear(Operator): - """Removes fade animation from selected sequences. - Removes opacity or volume animation on selected sequences and resets the - property to a value of 1.0. Works on all types of sequences. - """ + """Removes fade animation from selected sequences""" bl_idname = "sequencer.fades_clear" bl_label = "Clear Fades" - bl_description = "Removes fade animation from selected sequences." bl_options = {'REGISTER', 'UNDO'} @classmethod @@ -168,17 +164,9 @@ class SequencerFadesClear(Operator): class SequencerFadesAdd(Operator): - """Adds or updates a fade animation for either visual or audio strips. - Fade options: - - In, Out, In and Out create a fade animation of the given duration from - the start of the sequence, to the end of the sequence, or on boths sides - - From playhead: the fade animation goes from the start of sequences under the playhead to the playhead - - To playhead: the fade animation goes from the playhead to the end of sequences under the playhead - By default, the duration of the fade is 1 second. - """ + """Adds or updates a fade animation for either visual or audio strips""" bl_idname = "sequencer.fades_add" bl_label = "Add Fades" - bl_description = "Adds or updates a fade animation for either visual or audio strips." bl_options = {'REGISTER', 'UNDO'} duration_seconds: bpy.props.FloatProperty( @@ -195,7 +183,7 @@ class SequencerFadesAdd(Operator): ('CURSOR_TO', 'To Playhead', 'Fade from the start of sequences under the time cursor to the current frame'), ), name="Fade type", - description="Fade in, out, both in and out, to, or from the playhead. Default is both in and out.", + description="Fade in, out, both in and out, to, or from the playhead. Default is both in and out", default='IN_OUT') @classmethod |