Fix #108782: Fcurve Modifer shortcut does not work in channels region
Since the5e1470d1b3/0f51b5b599the `fmodifier_add` operator has moved to the Channel menu in the Graph Editor and also the channels context menu in the channels region. The shortcut was not working in the channels region though since the operator was only in the keymap for the main region (not the channels region). Now move the keymap entry to the generic keymap of the Graph Editor so it works in both regions. Pull Request: https://projects.blender.org/blender/blender/pulls/111378
This commit is contained in:
committed by
Philipp Oeser
parent
f63a0e670a
commit
44ba616614
@@ -1811,6 +1811,8 @@ def km_graph_editor_generic(params):
|
||||
sidebar_key={"type": 'N', "value": 'PRESS'},
|
||||
),
|
||||
("graph.extrapolation_type", {"type": 'E', "value": 'PRESS', "shift": True}, None),
|
||||
("graph.fmodifier_add", {"type": 'M', "value": 'PRESS', "shift": True, "ctrl": True},
|
||||
{"properties": [("only_active", False)]}),
|
||||
("anim.channels_select_filter", {"type": 'F', "value": 'PRESS', "ctrl": True}, None),
|
||||
*_template_items_hide_reveal_actions("graph.hide", "graph.reveal"),
|
||||
("wm.context_set_enum", {"type": 'TAB', "value": 'PRESS', "ctrl": True},
|
||||
@@ -1915,8 +1917,6 @@ def km_graph_editor(params):
|
||||
("graph.view_selected", {"type": 'NUMPAD_PERIOD', "value": 'PRESS'}, None),
|
||||
("graph.view_frame", {"type": 'NUMPAD_0', "value": 'PRESS'}, None),
|
||||
op_menu_pie("GRAPH_MT_view_pie", {"type": 'ACCENT_GRAVE', "value": 'PRESS'}),
|
||||
("graph.fmodifier_add", {"type": 'M', "value": 'PRESS', "shift": True, "ctrl": True},
|
||||
{"properties": [("only_active", False)]}),
|
||||
("anim.channels_editable_toggle", {"type": 'TAB', "value": 'PRESS'}, None),
|
||||
("transform.translate", {"type": 'G', "value": 'PRESS'}, None),
|
||||
("transform.translate", {"type": params.select_mouse, "value": 'CLICK_DRAG'}, None),
|
||||
|
||||
Reference in New Issue
Block a user