Movie clip editor: graph view now can be toggled using Z key
This commit is contained in:
@@ -420,6 +420,11 @@ static void clip_keymap(struct wmKeyConfig *keyconf)
|
||||
RNA_enum_set(kmi->ptr, "mode", SC_MODE_DISTORTION);
|
||||
RNA_boolean_set(kmi->ptr, "toggle", TRUE);
|
||||
|
||||
kmi = WM_keymap_add_item(keymap, "WM_OT_context_toggle_enum", ZKEY, KM_PRESS, 0, 0);
|
||||
RNA_string_set(kmi->ptr, "data_path", "space_data.view");
|
||||
RNA_string_set(kmi->ptr, "value_1", "CLIP");
|
||||
RNA_string_set(kmi->ptr, "value_2", "GRAPH");
|
||||
|
||||
/* ******** Hotkeys avalaible for main region only ******** */
|
||||
|
||||
keymap= WM_keymap_find(keyconf, "Clip Editor", SPACE_CLIP, 0);
|
||||
|
||||
Reference in New Issue
Block a user