[Bf-blender-cvs] [5533257] master: Tracking: Add shortcuts for the copy-paste as well
Sergey Sharybin
noreply at git.blender.org
Fri Sep 26 10:46:34 CEST 2014
Commit: 5533257c4daa42f8cf4e03f9f9f67361a337f41f
Author: Sergey Sharybin
Date: Fri Sep 26 14:45:34 2014 +0600
Branches: master
https://developer.blender.org/rB5533257c4daa42f8cf4e03f9f9f67361a337f41f
Tracking: Add shortcuts for the copy-paste as well
===================================================================
M source/blender/editors/space_clip/space_clip.c
===================================================================
diff --git a/source/blender/editors/space_clip/space_clip.c b/source/blender/editors/space_clip/space_clip.c
index a6fbb0c..a797a60 100644
--- a/source/blender/editors/space_clip/space_clip.c
+++ b/source/blender/editors/space_clip/space_clip.c
@@ -754,6 +754,10 @@ static void clip_keymap(struct wmKeyConfig *keyconf)
RNA_string_set(kmi->ptr, "data_path", "space_data.pivot_point");
RNA_string_set(kmi->ptr, "value", "INDIVIDUAL_ORIGINS");
+ /* Copy-paste */
+ WM_keymap_add_item(keymap, "CLIP_OT_copy_tracks", CKEY, KM_PRESS, KM_CTRL, 0);
+ WM_keymap_add_item(keymap, "CLIP_OT_paste_tracks", VKEY, KM_PRESS, KM_CTRL, 0);
+
/* ******** Hotkeys avalaible for preview region only ******** */
keymap = WM_keymap_find(keyconf, "Clip Graph Editor", SPACE_CLIP, 0);
More information about the Bf-blender-cvs
mailing list