Fix T66920: Shortcut Bind Camera to Marker in timeline not working

The shortcut was only registered for the marker region, although it can
be registered to the main region without conflicts.
This commit is contained in:
Julian Eisel 2020-01-27 11:41:22 +01:00
parent 7527eb3a3a
commit 6dbc254c0b
Notes: blender-bot 2023-02-14 01:49:21 +01:00
Referenced by issue #66920, Shortcut Bind Camera to Marker in timeline not working
1 changed files with 1 additions and 1 deletions

View File

@ -1331,7 +1331,6 @@ def km_markers(params):
("marker.delete", {"type": 'DEL', "value": 'PRESS'}, None),
("marker.rename", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
("marker.move", {"type": 'G', "value": 'PRESS'}, None),
("marker.camera_bind", {"type": 'B', "value": 'PRESS', "ctrl": True}, None),
])
return keymap
@ -2034,6 +2033,7 @@ def km_dopesheet(params):
op_menu_pie("VIEW3D_MT_proportional_editing_falloff_pie", {"type": 'O', "value": 'PRESS', "shift": True}),
("marker.add", {"type": 'M', "value": 'PRESS'}, None),
("marker.rename", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
("marker.camera_bind", {"type": 'B', "value": 'PRESS', "ctrl": True}, None),
*_template_items_context_menu("DOPESHEET_MT_context_menu", params.context_menu_event),
])