Animation: Add Slider operators to hotkey menu #104530
@ -1817,6 +1817,7 @@ def km_graph_editor(params):
|
||||
("graph.paste", {"type": 'V', "value": 'PRESS', "ctrl": True}, None),
|
||||
("graph.paste", {"type": 'V', "value": 'PRESS', "shift": True, "ctrl": True},
|
||||
{"properties": [("flipped", True)]}),
|
||||
op_menu("GRAPH_MT_slider", {"type": 'D', "value": 'PRESS'}),
|
||||
("graph.previewrange_set", {"type": 'P', "value": 'PRESS', "ctrl": True, "alt": True}, None),
|
||||
("graph.view_all", {"type": 'HOME', "value": 'PRESS'}, None),
|
||||
("graph.view_all", {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'}, None),
|
||||
|
@ -332,7 +332,7 @@ class GRAPH_MT_slider(Menu):
|
||||
|
||||
def draw(self, _context):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator_context = "INVOKE_DEFAULT"
|
||||
layout.operator("graph.breakdown", text="Breakdown")
|
||||
layout.operator("graph.blend_to_neighbor", text="Blend to Neighbor")
|
||||
layout.operator("graph.blend_to_default", text="Blend to Default Value")
|
||||
|
Loading…
Reference in New Issue
Block a user