diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-01-29 19:34:05 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-01-29 19:34:05 +0300 |
commit | 43fab448f31b910409f03e1d9c1a2d74135a2b16 (patch) | |
tree | bf711c2fd0e596a384409fcfa9b7b856a4cc6f19 /release/scripts/startup/bl_ui/space_dopesheet.py | |
parent | 945ea40887bafff14ad40644b8a86af28bc1ae5c (diff) |
Followup for previous commit: fix mismatches between menu entry and shortcut properties.
For now, did most of the changes in menu entries (i.e. py space UI scripts).
Note we do not get 100% same results as previously, but current situation is
globally better than previous one, though the whole system to retrieve shortcuts
remains a bit weak...
Diffstat (limited to 'release/scripts/startup/bl_ui/space_dopesheet.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_dopesheet.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py index caf1e73c5f6..e52d180c1cb 100644 --- a/release/scripts/startup/bl_ui/space_dopesheet.py +++ b/release/scripts/startup/bl_ui/space_dopesheet.py @@ -215,8 +215,12 @@ class DOPESHEET_MT_select(Menu): 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' + props = layout.operator("action.select_leftright", text="Before Current Frame") + props.extend = False + props.mode = 'LEFT' + props = layout.operator("action.select_leftright", text="After Current Frame") + props.extend = False + props.mode = 'RIGHT' # FIXME: grease pencil mode isn't supported for these yet, so skip for that mode only if context.space_data.mode != 'GPENCIL': |