diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-12 10:08:22 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-12 10:08:22 +0400 |
commit | ada88c8d8ed051465e8db7ba0b856a6b065cb2d5 (patch) | |
tree | 86c14e588b487e4131fe5adfcd058be541e78278 /release/scripts/startup | |
parent | 347f4fac74b684731dafcd5d92e325e06ec3ed90 (diff) |
sequencer todo: change sequence added back (C key)
split up into operators
- change effect input
- change effect type
- change file data
Change plugin is not ported back yet.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index c477a2ff62b..56589188d0d 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -169,6 +169,19 @@ class SEQUENCER_MT_marker(bpy.types.Menu): #layout.operator("sequencer.sound_strip_add", text="Transform Markers") # toggle, will be rna - (sseq->flag & SEQ_MARKER_TRANS) +class SEQUENCER_MT_change(bpy.types.Menu): + bl_label = "Change" + + def draw(self, context): + layout = self.layout + + layout.operator_context = 'INVOKE_REGION_WIN' + + layout.operator_menu_enum("sequencer.change_effect_input", "swap") + layout.operator_menu_enum("sequencer.change_effect_type", "type") + layout.operator("sequencer.change_path", text="Path/Files") + + class SEQUENCER_MT_add(bpy.types.Menu): bl_label = "Add" @@ -292,6 +305,7 @@ class SEQUENCER_MT_strip(bpy.types.Menu): layout.separator() layout.operator("sequencer.swap_data") + layout.menu("SEQUENCER_MT_change") class SequencerButtonsPanel(): |