NLA Editor: drag in empty region to invoke box-select

Reviewers: brecht, billreynish

Differential Revision: https://developer.blender.org/D5010
This commit is contained in:
2019-06-04 16:20:30 +02:00
parent ddc19819f3
commit 8b1ca3ec53
2 changed files with 86 additions and 50 deletions

View File

@@ -2029,6 +2029,10 @@ def km_nla_editor(params):
{"properties": [("axis_range", False)]}),
("nla.select_box", {"type": 'B', "value": 'PRESS', "alt": True},
{"properties": [("axis_range", True)]}),
("nla.select_box", {"type": params.select_tweak, "value": 'ANY'},
{"properties": [("tweak", True), ("mode", 'SET')]}),
("nla.select_box", {"type": params.select_tweak, "value": 'ANY', "shift": True},
{"properties": [("tweak", True), ("mode", 'ADD')]}),
("nla.previewrange_set", {"type": 'P', "value": 'PRESS', "ctrl": True, "alt": True}, None),
("nla.view_all", {"type": 'HOME', "value": 'PRESS'}, None),
("nla.view_all", {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'}, None),