diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-01-26 13:53:58 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-01-26 13:53:58 +0400 |
commit | 969c87b5afc19094fc77537f74f2b0b86d5448d3 (patch) | |
tree | c338a155ee19d13cc4437ca7159ebcebb490518a /source/blender/editors | |
parent | dc4e37c7642da007ebc73f7528426e921b3f96fa (diff) |
Movie clip editor: graph view now can be toggled using Z key
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_clip/space_clip.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/space_clip.c b/source/blender/editors/space_clip/space_clip.c index 25617c3cf5d..c9b8c7971e5 100644 --- a/source/blender/editors/space_clip/space_clip.c +++ b/source/blender/editors/space_clip/space_clip.c @@ -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); |