Merge branch 'blender2.7'
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 15 Jan 2019 17:42:37 +0000 (18:42 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 15 Jan 2019 17:42:37 +0000 (18:42 +0100)
1  2 
release/scripts/startup/bl_ui/space_sequencer.py

@@@ -275,10 -279,31 +275,34 @@@ class SEQUENCER_MT_marker(Menu)
          from .space_time import marker_menu_generic
          marker_menu_generic(layout)
  
 +        if is_sequencer_view:
 +            layout.prop(st, "use_marker_sync")
 +
  
+ class SEQUENCER_MT_change(Menu):
+     bl_label = "Change"
+     def draw(self, context):
+         layout = self.layout
+         strip = act_strip(context)
+         layout.operator_context = 'INVOKE_REGION_WIN'
+         layout.operator_menu_enum("sequencer.change_effect_input", "swap")
+         layout.operator_menu_enum("sequencer.change_effect_type", "type")
+         prop = layout.operator("sequencer.change_path", text="Path/Files")
+         if strip:
+             stype = strip.type
+             if stype == 'IMAGE':
+                 prop.filter_image = True
+             elif stype == 'MOVIE':
+                 prop.filter_movie = True
+             elif stype == 'SOUND':
+                 prop.filter_sound = True
  class SEQUENCER_MT_frame(Menu):
      bl_label = "Frame"