DopeSheet/Graph Editors: Restored Copy/Paste operators
[blender-staging.git] / source / blender / editors / space_graph / graph_ops.c
index f9900306c53de247c82d4832cd0d25eb3e9d7cba..d13ab1a86b903b1122022fe50a1db9a892fdc7c8 100644 (file)
@@ -120,10 +120,11 @@ void graphedit_operatortypes(void)
        WM_operatortype_append(GRAPHEDIT_OT_keyframes_clean);
        WM_operatortype_append(GRAPHEDIT_OT_keyframes_delete);
        WM_operatortype_append(GRAPHEDIT_OT_keyframes_duplicate);
-#if 0 // XXX code to be sanitied for new system        
+       
        WM_operatortype_append(GRAPHEDIT_OT_keyframes_copy);
        WM_operatortype_append(GRAPHEDIT_OT_keyframes_paste);
-#endif // XXX code to be sanitied for new system
+       
+       //TODO: insertkey...
 }
 
 /* ************************** registration - keymaps **********************************/
@@ -180,11 +181,12 @@ static void graphedit_keymap_keyframes (wmWindowManager *wm, ListBase *keymap)
        
        WM_keymap_add_item(keymap, "GRAPHEDIT_OT_keyframes_duplicate", DKEY, KM_PRESS, KM_SHIFT, 0);
        
-#if 0 // XXX code to be sanitied for new system
+               /* insertkey */
+       // TODO..
+       
                /* copy/paste */
        WM_keymap_add_item(keymap, "GRAPHEDIT_OT_keyframes_copy", CKEY, KM_PRESS, KM_CTRL, 0);
        WM_keymap_add_item(keymap, "GRAPHEDIT_OT_keyframes_paste", VKEY, KM_PRESS, KM_CTRL, 0);
-#endif // XXX code to be sanitied for new system       
        
                /* auto-set range */
        WM_keymap_add_item(keymap, "GRAPHEDIT_OT_set_previewrange", PKEY, KM_PRESS, KM_CTRL|KM_ALT, 0);