diff options
author | William Reynish <billrey@me.com> | 2020-02-16 23:39:12 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2020-02-16 23:39:12 +0300 |
commit | 819af2094b21a78d57c7480a649f97502c09ec1f (patch) | |
tree | c1b3ebb3da3a5e3a812dace962ee6cc630ad4a58 /release/scripts/startup/bl_operators | |
parent | 31530d0da95cea17c4e30fd449b2ce6f01feda3b (diff) |
Rename Sequencer 'Cut' to 'Split'
This avoids the ambiguity with the Cut operator in the Sequencer, which could be confused with Cut/Copy/Paste.
Use 'Split' for the operator and 'Blade' for the active tool.
Patch by Nathan Lovato, with edits
Differential Revision: https://developer.blender.org/D5542
Diffstat (limited to 'release/scripts/startup/bl_operators')
-rw-r--r-- | release/scripts/startup/bl_operators/sequencer.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_operators/sequencer.py b/release/scripts/startup/bl_operators/sequencer.py index 9a0028d1f14..206f778195e 100644 --- a/release/scripts/startup/bl_operators/sequencer.py +++ b/release/scripts/startup/bl_operators/sequencer.py @@ -79,11 +79,11 @@ class SequencerCrossfadeSounds(Operator): return {'CANCELLED'} -class SequencerCutMulticam(Operator): - """Cut multi-cam strip and select camera""" +class SequencerSplitMulticam(Operator): + """Split multi-cam strip and select camera""" - bl_idname = "sequencer.cut_multicam" - bl_label = "Cut multicam" + bl_idname = "sequencer.split_multicam" + bl_label = "Split multicam" bl_options = {'REGISTER', 'UNDO'} camera: IntProperty( @@ -112,7 +112,7 @@ class SequencerCutMulticam(Operator): s.select = True cfra = context.scene.frame_current - bpy.ops.sequencer.cut(frame=cfra, type='SOFT', side='RIGHT') + bpy.ops.sequencer.split(frame=cfra, type='SOFT', side='RIGHT') for s in context.scene.sequence_editor.sequences_all: if s.select and s.type == 'MULTICAM' and s.frame_final_start <= cfra and cfra < s.frame_final_end: context.scene.sequence_editor.active_strip = s @@ -369,7 +369,7 @@ def calculate_duration_frames(context, duration_seconds): classes = ( SequencerCrossfadeSounds, - SequencerCutMulticam, + SequencerSplitMulticam, SequencerDeinterlaceSelectedMovies, SequencerFadesClear, SequencerFadesAdd, |