DopeSheet: Add menu entries and hotkeys to select all keyframes
[blender.git] / release / scripts / ui / space_dopesheet.py
index 9a1acfd76b831cce0be5735c9b8639f685455912..3a3f3f4033e36becacda0b9716a5f545016f1fc7 100644 (file)
@@ -187,6 +187,10 @@ class DOPESHEET_MT_select(bpy.types.Menu):
         layout.operator("action.select_column", text="Columns on Selected Markers").mode = 'MARKERS_COLUMN'
         layout.operator("action.select_column", text="Between Selected Markers").mode = 'MARKERS_BETWEEN'
 
+        layout.separator()
+        layout.operator("action.select_leftright", text="Before Current Frame").mode = 'LEFT'
+        layout.operator("action.select_leftright", text="After Current Frame").mode = 'RIGHT'
+
         # FIXME: grease pencil mode isn't supported for these yet, so skip for that mode only
         if context.space_data.mode != 'GPENCIL':
             layout.separator()