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_nla.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_nla.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_nla.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_nla.py b/release/scripts/startup/bl_ui/space_nla.py index b748e904f31..ae432c44bf6 100644 --- a/release/scripts/startup/bl_ui/space_nla.py +++ b/release/scripts/startup/bl_ui/space_nla.py @@ -108,8 +108,12 @@ class NLA_MT_select(Menu): layout.operator("nla.select_border", text="Border Axis Range").axis_range = True layout.separator() - layout.operator("nla.select_leftright", text="Before Current Frame").mode = 'LEFT' - layout.operator("nla.select_leftright", text="After Current Frame").mode = 'RIGHT' + props = layout.operator("nla.select_leftright", text="Before Current Frame") + props.extend = False + props.mode = 'LEFT' + props = layout.operator("nla.select_leftright", text="After Current Frame") + props.extend = False + props.mode = 'RIGHT' class NLA_MT_marker(Menu): @@ -135,7 +139,7 @@ class NLA_MT_edit(Menu): layout.operator_menu_enum("nla.snap", "type", text="Snap") layout.separator() - layout.operator("nla.duplicate", text="Duplicate") + layout.operator("nla.duplicate", text="Duplicate").linked = False layout.operator("nla.duplicate", text="Linked Duplicate").linked = True layout.operator("nla.split") layout.operator("nla.delete") |