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:
authorCampbell Barton <ideasman42@gmail.com>2018-07-03 16:44:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-03 17:28:59 +0300
commit48d7cf680ebe8ea7c09ef3e0e4abd1dc93d3fa5f (patch)
tree1ac4900663508c2d735d794768bca842c7d1ac59 /release/scripts/startup/bl_ui/space_sequencer.py
parent69e512243c781129a7eca853a7a0c2c2d58dd709 (diff)
Keymap: Select/De-Select support for anim-editors
Also update menu items, adding select/de-select.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_sequencer.py')
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index dc966850b69..0bdfcc39ed9 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -249,6 +249,12 @@ class SEQUENCER_MT_select(Menu):
def draw(self, context):
layout = self.layout
+ layout.operator("sequencer.select_all", text="All").action = 'SELECT'
+ layout.operator("sequencer.select_all", text="None").action = 'DESELECT'
+ layout.operator("sequencer.select_all", text="Invert").action = 'INVERT'
+
+ layout.separator()
+
layout.operator("sequencer.select_active_side", text="Strips to the Left").side = 'LEFT'
layout.operator("sequencer.select_active_side", text="Strips to the Right").side = 'RIGHT'
props = layout.operator("sequencer.select", text="All Strips to the Left")
@@ -267,8 +273,6 @@ class SEQUENCER_MT_select(Menu):
layout.operator("sequencer.select_linked")
layout.operator("sequencer.select_less")
layout.operator("sequencer.select_more")
- layout.operator("sequencer.select_all").action = 'TOGGLE'
- layout.operator("sequencer.select_all", text="Inverse").action = 'INVERT'
class SEQUENCER_MT_marker(Menu):