* Added back 'Insert Key' operator for DopeSheet editor
[blender.git] / source / blender / editors / space_action / action_ops.c
index d8a9d3884fdaa51abf388aeb1e2a369e8850b6e1..081b5539524051a9e16919f0a4dab62c8e2eda33 100644 (file)
@@ -79,6 +79,7 @@ void action_operatortypes(void)
        WM_operatortype_append(ACT_OT_keyframes_clean);
        WM_operatortype_append(ACT_OT_keyframes_delete);
        WM_operatortype_append(ACT_OT_keyframes_duplicate);
+       WM_operatortype_append(ACT_OT_keyframes_insert);
        WM_operatortype_append(ACT_OT_keyframes_copy);
        WM_operatortype_append(ACT_OT_keyframes_paste);
        
@@ -133,6 +134,7 @@ static void action_keymap_keyframes (wmWindowManager *wm, ListBase *keymap)
        WM_keymap_add_item(keymap, "ACT_OT_keyframes_delete", DELKEY, KM_PRESS, 0, 0);
        
        WM_keymap_add_item(keymap, "ACT_OT_keyframes_duplicate", DKEY, KM_PRESS, KM_SHIFT, 0);
+       WM_keymap_add_item(keymap, "ACT_OT_keyframes_insert", IKEY, KM_PRESS, 0, 0);
        
                /* copy/paste */
        WM_keymap_add_item(keymap, "ACT_OT_keyframes_copy", CKEY, KM_PRESS, KM_CTRL, 0);