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:
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r--release/scripts/startup/bl_ui/space_nla.py18
-rw-r--r--release/scripts/startup/bl_ui/space_time.py4
2 files changed, 22 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_nla.py b/release/scripts/startup/bl_ui/space_nla.py
index 99324ac5d50..961d6525a69 100644
--- a/release/scripts/startup/bl_ui/space_nla.py
+++ b/release/scripts/startup/bl_ui/space_nla.py
@@ -150,6 +150,23 @@ class NLA_MT_marker(Menu):
marker_menu_generic(layout, context)
+class NLA_MT_marker_select(Menu):
+ bl_label = 'Select'
+
+ def draw(self, context):
+ layout = self.layout
+
+ layout.operator("marker.select_all", text="All").action = 'SELECT'
+ layout.operator("marker.select_all", text="None").action = 'DESELECT'
+ layout.operator("marker.select_all", text="Invert").action = 'INVERT'
+
+ layout.separator()
+
+ layout.operator("marker.select_leftright", text="Before Current Frame").mode = 'LEFT'
+ layout.operator("marker.select_leftright", text="After Current Frame").mode = 'RIGHT'
+
+
+
class NLA_MT_edit(Menu):
bl_label = "Edit"
@@ -312,6 +329,7 @@ classes = (
NLA_MT_view,
NLA_MT_select,
NLA_MT_marker,
+ NLA_MT_marker_select,
NLA_MT_add,
NLA_MT_edit_transform,
NLA_MT_snap_pie,
diff --git a/release/scripts/startup/bl_ui/space_time.py b/release/scripts/startup/bl_ui/space_time.py
index b5b124253f3..13ab6e67b00 100644
--- a/release/scripts/startup/bl_ui/space_time.py
+++ b/release/scripts/startup/bl_ui/space_time.py
@@ -194,6 +194,10 @@ def marker_menu_generic(layout, context):
layout.separator()
+ layout.menu('NLA_MT_marker_select')
+
+ layout.separator()
+
layout.operator("marker.camera_bind")
layout.separator()