Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-01-15 20:42:37 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-01-15 20:42:37 +0300
commiteb61e6840efc1323bc021b44f1bb0f958b3f71b8 (patch)
treeddb9f651487a874b88fa7aea6fd7df3c63b39738 /release
parenta0df26f0041062c8268e9e6f099ee7db42bf61b4 (diff)
parentcac3e16cfb76269e49bc4a8cbf63e195ef192c36 (diff)
Merge branch 'blender2.7'
Diffstat (limited to 'release')
m---------release/scripts/addons0
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py25
2 files changed, 25 insertions, 0 deletions
diff --git a/release/scripts/addons b/release/scripts/addons
-Subproject 46a9160c6f67d60610fdcc1dadbe3946a701062
+Subproject 4fd7be071b037562c23cf4711abd54dffb667fd
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index 1d1b857b2f1..622fc3ba201 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -279,6 +279,30 @@ class SEQUENCER_MT_marker(Menu):
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"
@@ -1365,6 +1389,7 @@ class SEQUENCER_PT_custom_props(SequencerButtonsPanel, PropertyPanel, Panel):
classes = (
+ SEQUENCER_MT_change,
SEQUENCER_HT_header,
SEQUENCER_MT_editor_menus,
SEQUENCER_MT_view,